Class DataSourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.priint.pubserver.exception.PubServerException
com.priint.pubserver.plugin.exception.DataSourceException
- All Implemented Interfaces:
Serializable
Thrown if a procedure in a
ConnectorRemote implementation gets a problem when connecting,
accessing, modifying data in the underlying data source (e.g. a JDBC source or a REST Service).
This signals a malfunctioning of the data source itself or the transport layer (e.g. database is not up, or firewall blocks connection).
If possible, this object should pass exceptions that are thrown by the data source or the transport layer in the cause argument of the exception.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataSourceException(Object caller, int errorCode, String errorMessage) DataSourceException(Object caller, int errorCode, String errorMessage, Throwable cause) DataSourceException(Object caller, int errorCode, String message, Throwable cause, String... parameters) DataSourceException(Object caller, String errorMessage) DataSourceException(Object caller, String errorMessage, Throwable cause) -
Method Summary
Methods inherited from class com.priint.pubserver.exception.PubServerException
getCode, getErrorCodeInfo, getErrorsStack, getExceptionsStack, getFormattedMessage, getFormattedMessageTrace, getMessageStack, getModule, getParameters, retrieveErrorCodeInfo, retrieveErrorsStackMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataSourceException
-
DataSourceException
-
DataSourceException
-
DataSourceException
-
DataSourceException
-