Class ExceptionUtil
java.lang.Object
org.hibernate.testing.util.ExceptionUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic ThrowableGet a specific cause.static ExceptionUtilstatic booleanWas the given exception caused by a SQL connection closestatic booleanWas the given exception caused by a SQL lock timeout?static ThrowableGet the root cause of a particularThrowable
-
Method Details
-
getInstance
-
rootCause
-
findCause
-
isSqlLockTimeout
Was the given exception caused by a SQL lock timeout?- Parameters:
e- exception- Returns:
- is caused by a SQL lock timeout
-
isConnectionClose
Was the given exception caused by a SQL connection close- Parameters:
e- exception- Returns:
- is caused by a SQL connection close
-