java.security.cert
public class CertStoreException extends GeneralSecurityException
CertStore
, wrapping the lower exception. This class is not
thread-safe.CertStore
,
Serialized FormConstructor and Description |
---|
CertStoreException()
Create an exception without a message.
|
CertStoreException(String msg)
Create an exception with a message.
|
CertStoreException(String msg,
Throwable cause)
Create an exception with a cause and a message.
|
CertStoreException(Throwable cause)
Create an exception with a cause.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Get the cause, null if unknown.
|
String |
getMessage()
Get the detail message.
|
void |
printStackTrace()
Print the stack trace to
System.err . |
void |
printStackTrace(PrintStream stream)
Print the stack trace to a stream.
|
void |
printStackTrace(PrintWriter stream)
Print the stack trace to a stream.
|
String |
toString()
Convert this to a string, including its cause.
|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace
public CertStoreException()
public CertStoreException(String msg)
msg
- a message to display with exceptionpublic CertStoreException(Throwable cause)
cause == null ? null : cause.toString()
.cause
- the causepublic CertStoreException(String msg, Throwable cause)
msg
- the messagecause
- the causepublic String getMessage()
getMessage
in class Throwable
public String toString()
toString
in class Throwable
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
public void printStackTrace()
System.err
.printStackTrace
in class Throwable
public void printStackTrace(PrintStream stream)
printStackTrace
in class Throwable
stream
- the streampublic void printStackTrace(PrintWriter stream)
printStackTrace
in class Throwable
stream
- the stream