com.entrust.toolkit.exceptions
Class CertificationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.entrust.toolkit.exceptions.CertificationException
Direct Known Subclasses:
CertificationRootException, CertificationSignatureException, ExtensionException, LifespanException, RevocationException

public class CertificationException
extends java.lang.Exception

Base class for exceptions that occur while validating a certificate.

See Also:
Serialized Form

Field Summary
protected  java.lang.Exception m_exception
           
 
Constructor Summary
CertificationException()
          Constructs a CertificationException with the standard detail message.
CertificationException(java.lang.Exception inner)
          Constructs a CertificationException with the standard detail message that wraps an exception thrown inside the certificate validation code.
CertificationException(java.lang.String s)
          Constructs a CertificationException with the specified detail message.
CertificationException(java.lang.String s, java.lang.Exception inner)
          Constructs a CertificationException with the specified detail message that wraps an exception thrown inside the certificate validating code.
 
Method Summary
 java.lang.Exception getInnerException()
          Returns the inner exception wrapped by this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_exception

protected java.lang.Exception m_exception
Constructor Detail

CertificationException

public CertificationException()
Constructs a CertificationException with the standard detail message.

CertificationException

public CertificationException(java.lang.Exception inner)
Constructs a CertificationException with the standard detail message that wraps an exception thrown inside the certificate validation code.

CertificationException

public CertificationException(java.lang.String s)
Constructs a CertificationException with the specified detail message.
Parameters:
s - the detail message

CertificationException

public CertificationException(java.lang.String s,
                              java.lang.Exception inner)
Constructs a CertificationException with the specified detail message that wraps an exception thrown inside the certificate validating code.
Parameters:
s - the detail message
inner - the exception thrown by the inner code
Method Detail

getInnerException

public java.lang.Exception getInnerException()
Returns the inner exception wrapped by this exception.
Returns:
the exception thrown by the inner code