Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.security.cert

Class CertStoreException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.security.GeneralSecurityException
         |
         +--java.security.cert.CertStoreException


public class CertStoreException

extends GeneralSecurityException

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

Since:Author:See Also:

Constructor Summary

CertStoreException()

Create an exception without a message.
CertStoreException(java.lang.String msg)

Create an exception with a message.
CertStoreException(java.lang.Throwable cause)

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

Create an exception with a cause and a message.

Method Summary

java.lang.ThrowablegetCause()

Get the cause, null if unknown.
java.lang.StringgetMessage()

Get the detail message.
voidprintStackTrace()

Print the stack trace to System.err.
voidprintStackTrace(java.io.PrintStream stream)

Print the stack trace to a stream.
voidprintStackTrace(java.io.PrintWriter stream)

Print the stack trace to a stream.
java.lang.StringtoString()

Convert this to a string, including its cause.

Constructor Details

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.

Parameters:


CertStoreException

public CertStoreException(java.lang.String msg, java.lang.Throwable cause)

Create an exception with a cause and a message.

Parameters:


CertStoreException

public CertStoreException(java.lang.Throwable cause)

Create an exception with a cause. The message will be cause == null ? null : cause.toString().

Parameters:


Method Details

getCause

public Throwable getCause()

Get the cause, null if unknown.

Returns:


getMessage

public String getMessage()

Get the detail message.

Returns:


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.

Parameters:


printStackTrace

public void printStackTrace(java.io.PrintWriter stream)

Print the stack trace to a stream.

Parameters:


toString

public String toString()

Convert this to a string, including its cause.

Returns: