Class DataSourceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataSourceException
    extends PubServerException
    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:
    Serialized Form