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:
 Serializable
- Direct Known Subclasses:
 BadTenantFrozenException,BadTenantKeyException,BadTenantNameException,ConnectionException,DatabaseNotReadyException,DuplicateNameException,DuplicateSchemaException,LockException,TableSpaceRemovalException,UndefinedNameException,UniqueConstraintViolationException
public class DataAccessException extends RuntimeException
Simple runtime exception so that we can catch and handle where we need- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description DataAccessException(String msg)Public constructorDataAccessException(String msg, Throwable t)Public constructorDataAccessException(Throwable t)Public constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTransactionRetryable()Getter for the transactionRetryable flagvoidsetTransactionRetryable(boolean flag)Setter for the transactionRetryable flag- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
DataAccessException
public DataAccessException(String msg)
Public constructor- Parameters:
 msg-
 
- 
DataAccessException
public DataAccessException(String msg, Throwable t)
Public constructor- Parameters:
 msg-t-
 
- 
DataAccessException
public DataAccessException(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
 
 
 - 
 
 -