Package com.ibm.fhir.database.utils.api
Class LockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ibm.fhir.database.utils.api.DataAccessException
-
- com.ibm.fhir.database.utils.api.LockException
-
- All Implemented Interfaces:
Serializable
public class LockException extends DataAccessException
Translated exception for a SQLException representing a lock timeout or deadlock exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockException(Throwable t, boolean deadlock)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDeadlock()
-
Methods inherited from class com.ibm.fhir.database.utils.api.DataAccessException
isTransactionRetryable, setTransactionRetryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LockException
public LockException(Throwable t, boolean deadlock)
Public constructor- Parameters:
t
-
-
-