public class CertPathBuilderException extends java.security.GeneralSecurityException
CertPathBuilder, wrapping
the lower exception. This class is not thread-safe.CertPathBuilder,
Serialized Form| Constructor and Description |
|---|
CertPathBuilderException()
Create an exception without a message.
|
CertPathBuilderException(java.lang.String msg)
Create an exception with a message.
|
CertPathBuilderException(java.lang.String msg,
java.lang.Throwable cause)
Create an exception with a cause and a message.
|
CertPathBuilderException(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 CertPathBuilderException()
public CertPathBuilderException(java.lang.String msg)
msg - a message to display with exceptionpublic CertPathBuilderException(java.lang.Throwable cause)
cause == null ? null : cause.toString().cause - the causepublic CertPathBuilderException(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