|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.cert.CertPathBuilderException
public class CertPathBuilderException
Indicates a problem while using a CertPathBuilder
, wrapping
the lower exception. This class is not thread-safe.
CertPathBuilder
,
Serialized FormConstructor Summary | |
---|---|
CertPathBuilderException()
Create an exception without a message. |
|
CertPathBuilderException(String msg)
Create an exception with a message. |
|
CertPathBuilderException(String msg,
Throwable cause)
Create an exception with a cause and a message. |
|
CertPathBuilderException(Throwable cause)
Create an exception with a cause. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CertPathBuilderException()
public CertPathBuilderException(String msg)
msg
- a message to display with exceptionpublic CertPathBuilderException(Throwable cause)
cause == null ? null : cause.toString()
.
cause
- the causepublic CertPathBuilderException(String msg, Throwable cause)
msg
- the messagecause
- the causeMethod Detail |
---|
public String getMessage()
getMessage
in class Throwable
public Throwable getCause()
getCause
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |