Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.security.cert
Class CertPathBuilderException  view CertPathBuilderException download CertPathBuilderException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.security.GeneralSecurityException
              extended byjava.security.cert.CertPathBuilderException
All Implemented Interfaces:
java.io.Serializable

public class CertPathBuilderException
extends java.security.GeneralSecurityException

Indicates a problem while using a CertPathBuilder, wrapping the lower exception. This class is not thread-safe.

Since:
1.4

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static long serialVersionUID
          Compatible with JDK 1.4+.
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
CertPathBuilderException()
          Create an exception without a message.
CertPathBuilderException(java.lang.String msg)
          Create an exception with a message.
CertPathBuilderException(java.lang.String msg, java.lang.Throwable cause)
          Create an exception with a cause and a message.
CertPathBuilderException(java.lang.Throwable cause)
          Create an exception with a cause.
 
Method Summary
 java.lang.Throwable getCause()
          Get the cause, null if unknown.
 java.lang.String getMessage()
          Get the detail message.
 void printStackTrace()
          Print the stack trace to System.err.
 void printStackTrace(java.io.PrintStream stream)
          Print the stack trace to a stream.
 void printStackTrace(java.io.PrintWriter stream)
          Print the stack trace to a stream.
 java.lang.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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Compatible with JDK 1.4+.

See Also:
Constant Field Values
Constructor Detail

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.


CertPathBuilderException

public CertPathBuilderException(java.lang.Throwable cause)
Create an exception with a cause. The message will be cause == null ? null : cause.toString().


CertPathBuilderException

public CertPathBuilderException(java.lang.String msg,
                                java.lang.Throwable cause)
Create an exception with a cause and a message.

Method Detail

getMessage

public java.lang.String getMessage()
Get the detail message.


getCause

public java.lang.Throwable getCause()
Get the cause, null if unknown.


toString

public java.lang.String toString()
Convert this to a string, including its cause.


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.


printStackTrace

public void printStackTrace(java.io.PrintWriter stream)
Print the stack trace to a stream.