Home » openjdk-7 » javax » net » ssl » [javadoc | source]
javax.net.ssl
public class: SSLException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.io.IOException
            javax.net.ssl.SSLException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    SSLKeyException, SSLPeerUnverifiedException, SSLProtocolException, SSLHandshakeException

Indicates some kind of error detected by an SSL subsystem. This class is the general class of exceptions produced by failed SSL-related operations.
Fields inherited from java.io.IOException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public SSLException(String reason) 
    Constructs an exception reporting an error found by an SSL subsystem.
    Parameters:
    reason - describes the problem.
 public SSLException(Throwable cause) 
    Creates a SSLException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    Parameters:
    cause - the cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    since: 1.5 -
 public SSLException(String message,
    Throwable cause) 
    Creates a SSLException with the specified detail message and cause.
    Parameters:
    message - the detail message (which is saved for later retrieval by the #getMessage() method).
    cause - the cause (which is saved for later retrieval by the #getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    since: 1.5 -
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait