Team LiB
Previous Section Next Section

SSLHandshakeExceptionjavax.net.ssl

Java 1.4serializable checked

Signals that the SSL handshake failed for some reason other than failed authentication (see SSLPeerUnverifiedException). For example, it may be thrown because the client and server count not agree on a mutually-acceptable cipher suite. When this exception is thrown, the SSLSocket object is no longer usable.

Figure 18-7. javax.net.ssl.SSLHandshakeException


public class SSLHandshakeException extends SSLException {
// Public Constructors
     public SSLHandshakeException(String reason);  
}

    Team LiB
    Previous Section Next Section