Class ConnectionException

  • All Implemented Interfaces:
    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 Detail

      • ConnectionException

        public ConnectionException​(Throwable t)
        Public constructor
        Parameters:
        t -
      • ConnectionException

        public ConnectionException​(String msg,
                                   Throwable t)
        Public constructor
        Parameters:
        msg -
        t -