Save This Page
Home » openjdk-7 » sun.security » provider » certpath » [javadoc | source]
sun.security.provider.certpath
public class: SunCertPathBuilderException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.security.GeneralSecurityException
            java.security.cert.CertPathBuilderException
               sun.security.provider.certpath.SunCertPathBuilderException

All Implemented Interfaces:
    Serializable

This is a subclass of the generic CertPathBuilderException. It contains an adjacency list with information regarding the unsuccessful paths that the SunCertPathBuilder tried.
Constructor:
 public SunCertPathBuilderException() 
 public SunCertPathBuilderException(String msg) 
    Constructs a SunCertPathBuilderException with the specified detail message. A detail message is a String that describes this particular exception.
    Parameters:
    msg - the detail message
 public SunCertPathBuilderException(Throwable cause) 
    Constructs a SunCertPathBuilderException that wraps the specified throwable. This allows any exception to be converted into a SunCertPathBuilderException, while retaining information about the cause, which may be useful for debugging. The detail message is set to (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
    Parameters:
    cause - the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) root cause.
 public SunCertPathBuilderException(String msg,
    Throwable cause) 
    Creates a SunCertPathBuilderException with the specified detail message and cause.
    Parameters:
    msg - the detail message
    cause - the cause
 SunCertPathBuilderException(String msg,
    AdjacencyList adjList) 
    Creates a SunCertPathBuilderException withe the specified detail message and adjacency list.
    Parameters:
    msg - the detail message
    adjList - the adjacency list
 SunCertPathBuilderException(String msg,
    Throwable cause,
    AdjacencyList adjList) 
    Creates a SunCertPathBuilderException with the specified detail message, cause, and adjacency list.
    Parameters:
    msg - the detail message
    cause - the throwable that occurred
    adjList - Adjacency list
Method from sun.security.provider.certpath.SunCertPathBuilderException Summary:
getAdjacencyList
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.security.provider.certpath.SunCertPathBuilderException Detail:
 public AdjacencyList getAdjacencyList() 
    Returns the adjacency list containing information about the build.