Class ConnectionException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ConnectionMalformedUrlException, SsoConnection.SSOLoginException, SsoConnection.SSOLogoutException

    public class ConnectionException
    extends java.lang.RuntimeException
    ConnectionException is the base exception thrown by connection classes, making this a runtime exception means that catching it is optional preventing clutter, basing all connection related exceptions on this class means that you may decide to catch ConnectionException to deal with any issues underneath the connection infrastructure. Basing all connection classes' exceptions on ConnectionException means that all new exceptions originating in the connection related utilities are decoupled from any other subsystem.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectionException​(java.lang.String message, java.lang.Throwable throwable)  
    • 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

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

      • ConnectionException

        public ConnectionException​(java.lang.String message,
                                   java.lang.Throwable throwable)