Package javax.net.ssl
Class SSLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- javax.net.ssl.SSLException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SSLHandshakeException,SSLKeyException,SSLPeerUnverifiedException,SSLProtocolException
public class SSLException extends IOException
The base class for all SSL related exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SSLException(String reason)Creates a newSSLExceptionwith the specified reason.SSLException(String message, Throwable cause)Creates a newSSLExceptionwith the specified message and cause.SSLException(Throwable cause)Creates a newSSLExceptionwith the specified cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SSLException
public SSLException(String reason)
Creates a newSSLExceptionwith the specified reason.- Parameters:
reason- the reason for the exception.
-
SSLException
public SSLException(String message, Throwable cause)
Creates a newSSLExceptionwith the specified message and cause.- Parameters:
message- the detail message for the exception.cause- the cause.
-
SSLException
public SSLException(Throwable cause)
Creates a newSSLExceptionwith the specified cause.- Parameters:
cause- the cause
-
-