|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException iaik.security.ssl.SSLCertificateRuntimeException
public class SSLCertificateRuntimeException
Maybe used by an application for wrapping a self-designed certificate
validation exception. An application that extends the iSaSiLk
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.Exception |
getWrappedException()
Gets the wrapped (original) exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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) exceptionMethod Detail |
---|
public java.lang.Exception getWrappedException()
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |