Package com.ibm.fhir.database.utils.api
Class DataAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ibm.fhir.database.utils.api.DataAccessException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BadTenantFrozenException
,BadTenantKeyException
,BadTenantNameException
,ConnectionException
,DatabaseNotReadyException
,DuplicateNameException
,DuplicateSchemaException
,LockException
,TableSpaceRemovalException
,UndefinedNameException
,UniqueConstraintViolationException
public class DataAccessException extends java.lang.RuntimeException
Simple runtime exception so that we can catch and handle where we need- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataAccessException(java.lang.String msg)
Public constructorDataAccessException(java.lang.String msg, java.lang.Throwable t)
Public constructorDataAccessException(java.lang.Throwable t)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isTransactionRetryable()
Getter for the transactionRetryable flagvoid
setTransactionRetryable(boolean flag)
Setter for the transactionRetryable flag
-
-
-
Constructor Detail
-
DataAccessException
public DataAccessException(java.lang.String msg)
Public constructor- Parameters:
msg
-
-
DataAccessException
public DataAccessException(java.lang.String msg, java.lang.Throwable t)
Public constructor- Parameters:
msg
-t
-
-
DataAccessException
public DataAccessException(java.lang.Throwable t)
Public constructor- Parameters:
t
-
-
-
Method Detail
-
setTransactionRetryable
public void setTransactionRetryable(boolean flag)
Setter for the transactionRetryable flag- Parameters:
flag
-
-
isTransactionRetryable
public boolean isTransactionRetryable()
Getter for the transactionRetryable flag- Returns:
- true if the transaction could be retried
-
-