CertificateException which allows to specify which error code is included in the
SSL Record. This only work when SslProvider#OPENSSL or SslProvider#OPENSSL_REFCNT is used.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | OpenSslCertificateException(String msg, int errorCode)
Construct a new exception with the msg and error code . |
| public | OpenSslCertificateException(String message, Throwable cause, int errorCode)
Construct a new exception with the msg, cause and error code . |
| public | OpenSslCertificateException(Throwable cause, int errorCode)
Construct a new exception with the cause and error code . |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| public int |
| errorCode | back to summary |
|---|---|
| private final int errorCode | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| OpenSslCertificateException | back to summary |
|---|---|
| public OpenSslCertificateException(int errorCode) Construct a new exception with the error code. | |
| OpenSslCertificateException | back to summary |
|---|---|
| public OpenSslCertificateException(String msg, int errorCode) Construct a new exception with the msg and error code . | |
| OpenSslCertificateException | back to summary |
|---|---|
| public OpenSslCertificateException(String message, Throwable cause, int errorCode) Construct a new exception with the msg, cause and error code . | |
| OpenSslCertificateException | back to summary |
|---|---|
| public OpenSslCertificateException(Throwable cause, int errorCode) Construct a new exception with the cause and error code . | |
| checkErrorCode | back to summary |
|---|---|
| private static int checkErrorCode(int errorCode) | |
| errorCode | back to summary |
|---|---|
| public int errorCode() Return the error code to use. | |