java.security.cert
Class CertPathBuilderException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.security.GeneralSecurityException
|
+--java.security.cert.CertPathBuilderException
Indicates a problem while using a CertPathBuilder
, wrapping
the lower exception. This class is not thread-safe.
Since:Author:- Eric Blake <ebb9@email.byu.edu>
See Also:
CertPathBuilderException
public CertPathBuilderException()
Create an exception without a message. The cause may be initialized.
CertPathBuilderException
public CertPathBuilderException(java.lang.String msg)
Create an exception with a message. The cause may be initialized.
Parameters:
CertPathBuilderException
public CertPathBuilderException(java.lang.String msg, java.lang.Throwable cause)
Create an exception with a cause and a message.
Parameters:
CertPathBuilderException
public CertPathBuilderException(java.lang.Throwable cause)
Create an exception with a cause. The message will be
cause == null ? null : cause.toString()
.
Parameters:
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:
CertPathBuilder
, wrapping the lower exception. This class is not thread-safe.