java.security.cert
Class CertificateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by java.security.cert.CertificateException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CertificateEncodingException, CertificateExpiredException, CertificateNotYetValidException, CertificateParsingException

public class CertificateException
extends GeneralSecurityException

Exception for a Certificate.

Since:
1.2
See Also:
Certificate, Serialized Form

Constructor Summary
CertificateException()
          Constructs an exception without a message string.
CertificateException(String msg)
          Constructs an exception with a message string.
CertificateException(String s, Throwable cause)
          Create a new instance with a descriptive error message and a cause.
CertificateException(Throwable cause)
          Create a new instance with a cause.
 
Method Summary
 
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

CertificateException

public CertificateException()
Constructs an exception without a message string.


CertificateException

public CertificateException(String msg)
Constructs an exception with a message string.

Parameters:
msg - a message to display with exception

CertificateException

public CertificateException(String s,
                            Throwable cause)
Create a new instance with a descriptive error message and a cause.

Parameters:
s - the descriptive error message
cause - the cause
Since:
1.5

CertificateException

public CertificateException(Throwable cause)
Create a new instance with a cause.

Parameters:
cause - the cause
Since:
1.5