public class SSLCertificateRuntimeException
extends java.lang.RuntimeException
ChainVerifier
to implement its own certificate
validation strategy may throw a SSLCertificateRuntimeException if the
certificate validation
fails. An
exception that is wrapped by a SSLCertificateRuntimeException is forwarded
to the iSaSiLk handshaker and finally can be parsed from the SSLSocket (or
context) if the handshake fails because of an certificate validation error.Constructor and Description |
---|
SSLCertificateRuntimeException()
Creates a SSLCertificateRuntimeException with no message.
|
SSLCertificateRuntimeException(java.lang.Exception wrappedException)
Creates a SSLCertificateRuntimeException with the specified wrapped exception.
|
SSLCertificateRuntimeException(java.lang.String msg)
Creates a SSLCertificateRuntimeException with the specified message.
|
SSLCertificateRuntimeException(java.lang.String msg,
java.lang.Exception wrappedException)
Creates a SSLCertificateRuntimeException with the specified message and wrapped exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getWrappedException()
Gets the wrapped (original) exception.
|
public SSLCertificateRuntimeException()
public SSLCertificateRuntimeException(java.lang.String msg)
msg
- the exception messagepublic SSLCertificateRuntimeException(java.lang.String msg, java.lang.Exception wrappedException)
msg
- the exception messagewrappedException
- the wrapped (original) exceptionpublic SSLCertificateRuntimeException(java.lang.Exception wrappedException)
wrappedException
- the wrapped (original) exception