APIdia Launch Partner
Top Description Fields Constructors
javax.net.ssl

public Class SSLPeerUnverifiedException

extends SSLException
Class Inheritance

Indicates that the peer's identity has not been verified.

When the peer was not able to identify itself (for example; no certificate, the particular cipher suite being used does not support authentication, or no peer authentication was established during SSL handshaking) this exception is thrown.

Author
David Brownell
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
SSLPeerUnverifiedException(String
describes the problem.
reason
)

Constructs an exception reporting that the SSL peer's identity has not been verified.

public
SSLPeerUnverifiedException(String
the detail message (which is saved for later retrieval by the getMessage() method).
message
,
Throwable
the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
cause
)

Creates a SSLPeerUnverifiedException with the specified detail message and cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.net.ssl.SSLException.serialVersionUID.

Annotations
@Serial

Constructor Detail

SSLPeerUnverifiedExceptionback to summary
public SSLPeerUnverifiedException(String reason)

Constructs an exception reporting that the SSL peer's identity has not been verified.

Parameters
reason:String

describes the problem.

SSLPeerUnverifiedExceptionback to summary
public SSLPeerUnverifiedException(String message, Throwable cause)

Creates a SSLPeerUnverifiedException with the specified detail message and cause.

Parameters
message:String

the detail message (which is saved for later retrieval by the getMessage() method).

cause:Throwable

the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

Since
19