Class SSLRuntimeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SSLRuntimeException
    extends java.lang.RuntimeException
    A runtime exception for SSL.
    Since:
    1.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SSLRuntimeException​(java.lang.String message, javax.net.ssl.SSLException cause)
      Constructs a new SSL runtime exception with the specified detail message and cause (as SSLException).
      SSLRuntimeException​(javax.net.ssl.SSLException cause)
      Constructs a new SSL runtime exception with the specified cause (as SSLException).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.net.ssl.SSLException getCause()  
      • Methods inherited from class java.lang.Throwable

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

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

      • SSLRuntimeException

        public SSLRuntimeException​(java.lang.String message,
                                   javax.net.ssl.SSLException cause)
        Constructs a new SSL runtime exception with the specified detail message and cause (as SSLException).
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        cause - the cause as SSLException
      • SSLRuntimeException

        public SSLRuntimeException​(javax.net.ssl.SSLException cause)
        Constructs a new SSL runtime exception with the specified cause (as SSLException).
        Parameters:
        cause - the cause as SSLException
    • Method Detail

      • getCause

        public javax.net.ssl.SSLException getCause()
        Overrides:
        getCause in class java.lang.Throwable