Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 964
نمايش فراداده

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 ); }