public final class OpenSslCertificateException extends 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.Constructor and Description |
---|
OpenSslCertificateException(int errorCode)
Construct a new exception with the
error code.
|
OpenSslCertificateException(String msg,
int errorCode)
Construct a new exception with the msg and
error code .
|
OpenSslCertificateException(String message,
Throwable cause,
int errorCode)
Construct a new exception with the msg, cause and
error code .
|
OpenSslCertificateException(Throwable cause,
int errorCode)
Construct a new exception with the cause and
error code .
|
Modifier and Type | Method and Description |
---|---|
int |
errorCode()
Return the error code to use.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OpenSslCertificateException(int errorCode)
public OpenSslCertificateException(String msg, int errorCode)
public OpenSslCertificateException(String message, Throwable cause, int errorCode)
public OpenSslCertificateException(Throwable cause, int errorCode)
public int errorCode()
Copyright © 2008–2017 The Netty Project. All rights reserved.