Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.security.cert
Class CertStoreException  view CertStoreException download CertStoreException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.security.GeneralSecurityException
              extended byjava.security.cert.CertStoreException
All Implemented Interfaces:
java.io.Serializable

public class CertStoreException
extends java.security.GeneralSecurityException

Indicates a problem while retrieving certificates and CRLs from CertStore, wrapping the lower exception. This class is not thread-safe.

Since:
1.4

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static long serialVersionUID
          Compatible with JDK 1.4+.
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
CertStoreException()
          Create an exception without a message.
CertStoreException(java.lang.String msg)
          Create an exception with a message.
CertStoreException(java.lang.String msg, java.lang.Throwable cause)
          Create an exception with a cause and a message.
CertStoreException(java.lang.Throwable cause)
          Create an exception with a cause.
 
Method Summary
 java.lang.Throwable getCause()
          Get the cause, null if unknown.
 java.lang.String getMessage()
          Get the detail message.
 void printStackTrace()
          Print the stack trace to System.err.
 void printStackTrace(java.io.PrintStream stream)
          Print the stack trace to a stream.
 void printStackTrace(java.io.PrintWriter stream)
          Print the stack trace to a stream.
 java.lang.String toString()
          Convert this to a string, including its cause.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Compatible with JDK 1.4+.

See Also:
Constant Field Values
Constructor Detail

CertStoreException

public CertStoreException()
Create an exception without a message. The cause may be initialized.


CertStoreException

public CertStoreException(java.lang.String msg)
Create an exception with a message. The cause may be initialized.


CertStoreException

public CertStoreException(java.lang.Throwable cause)
Create an exception with a cause. The message will be cause == null ? null : cause.toString().


CertStoreException

public CertStoreException(java.lang.String msg,
                          java.lang.Throwable cause)
Create an exception with a cause and a message.

Method Detail

getMessage

public java.lang.String getMessage()
Get the detail message.


getCause

public java.lang.Throwable getCause()
Get the cause, null if unknown.


toString

public java.lang.String toString()
Convert this to a string, including its cause.


printStackTrace

public void printStackTrace()
Print the stack trace to System.err.


printStackTrace

public void printStackTrace(java.io.PrintStream stream)
Print the stack trace to a stream.


printStackTrace

public void printStackTrace(java.io.PrintWriter stream)
Print the stack trace to a stream.