public class SSLCertificateException extends SSLException
ALERT_ACCESS_DENIED, ALERT_BAD_CERTIFICATE, ALERT_BAD_CERTIFICATE_HASH_VALUE, ALERT_BAD_CERTIFICATE_STATUS_RESPONSE, ALERT_BAD_RECORD_MAC, ALERT_CERTIFICATE_EXPIRED, ALERT_CERTIFICATE_REQUIRED, ALERT_CERTIFICATE_REVOKED, ALERT_CERTIFICATE_UNKNOWN, ALERT_CERTIFICATE_UNOBTAINABLE, ALERT_CLOSE_NOTIFY, ALERT_DECODE_ERROR, ALERT_DECOMPRESSION_FAILURE, ALERT_DECRYPT_ERROR, ALERT_DECRYPTION_FAILED, ALERT_EXPORT_RESTRICTION, ALERT_HANDSHAKE_FAILURE, ALERT_ILLEGAL_PARAMETER, ALERT_INSUFFICIENT_SECURITY, ALERT_INTERNAL_ERROR, ALERT_LEVEL_FATAL, ALERT_LEVEL_WARNING, ALERT_MISSING_EXTENSION, ALERT_NO_CERTIFICATE, ALERT_NO_RENEGOTIATION, ALERT_PROTOCOL_VERSION, ALERT_RECORD_OVERFLOW, ALERT_UNEXPECTED_MESSAGE, ALERT_UNKNOWN_CA, ALERT_UNKNOWN_PSK_IDENTITY, ALERT_UNRECOGNIZED_NAME, ALERT_UNSUPPORTED_CERTIFICATE, ALERT_UNSUPPORTED_EXTENSION, ALERT_USER_CANCELED, ALERT_V2_BAD_CERTIFICATE, ALERT_V2_NO_CERTIFICATE, ALERT_V2_NO_CIPHER, ALERT_V2_UNDEFINED_ERROR, ALERT_V2_UNSUPPORTED_CERTIFICATE_TYPE
Constructor and Description |
---|
SSLCertificateException()
Creates a SSLCertificateException with no message.
|
SSLCertificateException(java.lang.Exception wrappedException)
Creates a SSLCertificateException with the specified wrapped exception.
|
SSLCertificateException(java.lang.String msg)
Creates a SSLCertificateException with the specified message.
|
SSLCertificateException(java.lang.String msg,
java.lang.Exception wrappedException)
Creates a SSLCertificateException with the specified message and wrapped exception.
|
SSLCertificateException(java.lang.String string,
int alertLevel,
int alertDescription,
java.lang.Exception wrappedException)
Creates an SSLCertificateException with the specified message,
alert level and description.
|
alertFromPeer, getAlertDescription, getAlertLevel, getWrappedException
public SSLCertificateException()
public SSLCertificateException(java.lang.String msg)
msg
- the exception messagepublic SSLCertificateException(java.lang.String msg, java.lang.Exception wrappedException)
msg
- the exception messagewrappedException
- the wrapped (original) exceptionpublic SSLCertificateException(java.lang.Exception wrappedException)
wrappedException
- the wrapped (original) exceptionpublic SSLCertificateException(java.lang.String string, int alertLevel, int alertDescription, java.lang.Exception wrappedException)
string
- the exception messagealertLevel
- the alert level (either FATAL or WARNING)alertDescription
- the alert descriptionwrappedException
- the wrapped (original) exception