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:
java.io.Serializable
public class DataSourceException extends PubServerException
Thrown if a procedure in aConnectorRemoteimplementation 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataSourceException(java.lang.Object caller, int errorCode, java.lang.String errorMessage)DataSourceException(java.lang.Object caller, int errorCode, java.lang.String errorMessage, java.lang.Throwable cause)DataSourceException(java.lang.Object caller, int errorCode, java.lang.String message, java.lang.Throwable cause, java.lang.String... parameters)DataSourceException(java.lang.Object caller, java.lang.String errorMessage)DataSourceException(java.lang.Object caller, java.lang.String errorMessage, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.priint.pubserver.exception.PubServerException
getCode, getErrorCodeInfo, getErrorsStack, getExceptionsStack, getFormattedMessage, getFormattedMessageTrace, getMessageStack, getModule, getParameters, retrieveErrorCodeInfo, retrieveErrorsStack
-
-
-
-
Constructor Detail
-
DataSourceException
public DataSourceException(java.lang.Object caller, int errorCode, java.lang.String message, java.lang.Throwable cause, java.lang.String... parameters)
-
DataSourceException
public DataSourceException(java.lang.Object caller, int errorCode, java.lang.String errorMessage, java.lang.Throwable cause)
-
DataSourceException
public DataSourceException(java.lang.Object caller, int errorCode, java.lang.String errorMessage)
-
DataSourceException
public DataSourceException(java.lang.Object caller, java.lang.String errorMessage, java.lang.Throwable cause)
-
DataSourceException
public DataSourceException(java.lang.Object caller, java.lang.String errorMessage)
-
-