Name

SSLException

Synopsis

Signals an SSL-related problem. This class serves as the common superclass of more specific SSL exception subclasses.

javax.net.ssl.SSLException

Figure 18-6. javax.net.ssl.SSLException

public class SSLException extends java.io.IOException {
// Public Constructors
                  5.0  public SSLException(Throwable cause);  
     public SSLException(String reason);  
5.0  public SSLException(String message, Throwable cause);  
}

Subclasses

SSLHandshakeException, SSLKeyException, SSLPeerUnverifiedException, SSLProtocolException

Thrown By

SSLEngine.{beginHandshake( ), closeInbound( ), unwrap( ), wrap( )}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.