Class ConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.linuxforhealth.fhir.database.utils.api.DataAccessException
-
- org.linuxforhealth.fhir.database.utils.api.ConnectionException
-
- All Implemented Interfaces:
java.io.Serializable
public class ConnectionException extends DataAccessException
Translation of a SQLException representing an issue related to database connectivity. This is potentially an ephemeral issue, so the business logic may decide to retry (or return an error telling the client to retry instead of just a generic 500 server error type response).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionException(java.lang.String msg, java.lang.Throwable t)
Public constructorConnectionException(java.lang.Throwable t)
Public constructor
-
Method Summary
-
Methods inherited from class org.linuxforhealth.fhir.database.utils.api.DataAccessException
isTransactionRetryable, setTransactionRetryable
-
-