public class CertStoreException extends java.security.GeneralSecurityException
CertStore, wrapping the lower exception. This class is not
thread-safe.CertStore,
Serialized Form| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public CertStoreException()
public CertStoreException(java.lang.String msg)
msg - a message to display with exceptionpublic CertStoreException(java.lang.Throwable cause)
cause == null ? null : cause.toString().cause - the causepublic CertStoreException(java.lang.String msg, java.lang.Throwable cause)
msg - the messagecause - the causepublic java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.ThrowableObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)public void printStackTrace()
System.err.printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream stream)
printStackTrace in class java.lang.Throwablestream - the streampublic void printStackTrace(java.io.PrintWriter stream)
printStackTrace in class java.lang.Throwablestream - the stream