java.security.cert
Class CertificateParsingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by java.security.cert.CertificateException
                  extended by java.security.cert.CertificateParsingException
All Implemented Interfaces:
Serializable

public class CertificateParsingException
extends CertificateException

Exception for parsing a DER-encoded Certificate.

Since:
1.2
See Also:
Serialized Form

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

CertificateParsingException

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


CertificateParsingException

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

Parameters:
msg - a message to display with exception

CertificateParsingException

public CertificateParsingException(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

CertificateParsingException

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

Parameters:
cause - the cause
Since:
1.5