public final class OpenSslCertificateException
extends java.security.cert.CertificateException
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.构造器和说明 |
---|
OpenSslCertificateException(int errorCode)
Construct a new exception with the
error code.
|
OpenSslCertificateException(java.lang.String msg,
int errorCode)
Construct a new exception with the msg and
error code .
|
OpenSslCertificateException(java.lang.String message,
java.lang.Throwable cause,
int errorCode)
Construct a new exception with the msg, cause and
error code .
|
OpenSslCertificateException(java.lang.Throwable cause,
int errorCode)
Construct a new exception with the cause and
error code .
|
限定符和类型 | 方法和说明 |
---|---|
int |
errorCode()
Return the error code to use.
|
public OpenSslCertificateException(int errorCode)
public OpenSslCertificateException(java.lang.String msg, int errorCode)
public OpenSslCertificateException(java.lang.String message, java.lang.Throwable cause, int errorCode)
public OpenSslCertificateException(java.lang.Throwable cause, int errorCode)
public int errorCode()