Class 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 constructor
      ConnectionException​(java.lang.Throwable t)
      Public constructor
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ConnectionException

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

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