is new.
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.cert.CertPathBuilderException
An exception indicating one of a variety of problems encountered when building a certification path with a CertPathBuilder.
A CertPathBuilderException provides support for wrapping exceptions. The
getCause
getCause
method returns the throwable, if any, that caused this exception to be thrown.
Concurrent Access
Unless otherwise specified, the methods defined in this class are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.
| Constructor Summary | |
|---|---|
|
CertPathBuilderException
() Creates a CertPathBuilderException with null as its detail message. |
|
|
CertPathBuilderException
(
String
msg) Creates a CertPathBuilderException with the given detail message. |
|
|
CertPathBuilderException
(
String
msg,
Throwable
cause) Creates a CertPathBuilderException with the specified detail message and cause. |
|
|
CertPathBuilderException
(
Throwable
cause) Creates a CertPathBuilderException that wraps the specified throwable. |
|
| Method Summary | |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
| Methods inherited from class java.lang. Throwable |
|---|
fillInStackTrace
,
getCause
,
getLocalizedMessage
,
getMessage
,
getStackTrace
,
initCause
,
printStackTrace
,
printStackTrace
,
printStackTrace
,
setStackTrace
,
toString
|
| 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)
public CertPathBuilderException(Throwable cause)
getCause()
public CertPathBuilderException(String msg,
Throwable cause)
getCause()
|
|---|
publicThrowablegetCause()
publicStringgetMessage()
publicStringtoString()
public voidprintStackTrace()
public voidprintStackTrace(PrintStreamps)
public voidprintStackTrace(PrintWriterpw)