public class HostnameVerificationException
extends java.io.IOException
EntrustHostnameVerifier,
Serialized Form| Constructor and Description |
|---|
HostnameVerificationException(java.lang.String s,
java.lang.String hostname,
javax.net.ssl.SSLSession session)
Constructs an
HostnameVerificationException with the specified detail
message, the hostname being verified, and the SSLSession that was used to
try and verify the hostname. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHostname() |
javax.net.ssl.SSLSession |
getSession() |
public HostnameVerificationException(java.lang.String s,
java.lang.String hostname,
javax.net.ssl.SSLSession session)
HostnameVerificationException with the specified detail
message, the hostname being verified, and the SSLSession that was used to
try and verify the hostname.
The error message string s can later be
retrieved by the
method of class Throwable.getMessage()java.lang.Throwable.
s - the detail message.hostname - the hostname being verifiedSSLSession - the SSLSession used for hostname verification