API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security.cert. CertPathValidatorException View Source
Author(s)
Yassir Elley
Since
1.4
Version
1.12 04/06/06
Serial
Hierarchy
 Object
      Throwable
          Exception
              GeneralSecurityException
                  CertPathValidatorException
Implements
Subclasses
Description
public exception CertPathValidatorException
  An exception indicating one of a variety of problems encountered when validating a certification path.
See also:    CertPathValidator
Constructors
public CertPathValidatorException ()
Creates a CertPathValidatorException with no detail message.
public CertPathValidatorException (String msg)
  Creates a CertPathValidatorException with the given detail message.
public CertPathValidatorException (String msg, Throwable cause)
  Creates a CertPathValidatorException with the specified detail message and cause.
public CertPathValidatorException (String msg, Throwable cause, CertPath certPath, int index)
  Creates a CertPathValidatorException with the specified detail message, cause, certification path, and index.
public CertPathValidatorException (Throwable cause)
  Creates a CertPathValidatorException that wraps the specified throwable.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From Throwable]
  Returns the cause of this throwable or null if the cause is nonexistent or unknown.
public CertPath getCertPath ()
  Returns the certification path that was being validated when the exception was thrown.
public int getIndex ()
  Returns the index of the certificate in the certification path that caused the exception to be thrown.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From Throwable]
  Returns a short description of this throwable.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar