An exception indicating one of a variety of problems encountered when validating a certification path.
CertPathValidatorException provides support for wrapping
getCause method returns the throwable,
if any, that caused this exception to be thrown.
CertPathValidatorException may also include the
certification path that was being validated when the exception was thrown,
the index of the certificate in the certification path that caused the
exception to be thrown, and the reason that caused the failure. Use the
getReason methods to retrieve this information.
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.
Nested Class Summary
|enum||CertPathValidatorException.BasicReason||The BasicReason enumerates the potential reasons that a certification path of any type may be invalid.|
|interface||CertPathValidatorException.Reason||The reason the validation algorithm failed.|
Public Constructor Summary
Public Method Summary
Returns the certification path that was being validated when the exception was thrown.
Returns the index of the certificate in the certification path that caused the exception to be thrown.
Returns the reason that the validation failed.
Inherited Method Summary
|synchronized final void|
Fills in the execution stack trace.
Returns the cause of this throwable or
Creates a localized description of this throwable.
Returns the detail message string of this throwable.
|synchronized final Throwable||
Returns an array containing all of the exceptions that were suppressed, typically by the
Prints this throwable and its backtrace to the standard error stream.
Returns a short description of this throwable.
Creates and returns a copy of this
Invoked when the garbage collector has detected that this instance is no longer reachable.
Returns an integer hash code for this object.
Causes a thread which is waiting on this object's monitor (by means of calling one of the
Causes all threads which are waiting on this object's monitor (by means of calling one of the
Returns a string containing a concise, human-readable description of this object.
wait(long timeout, int nanos)
Causes the calling thread to wait until another thread calls the