public class

SunCertPathBuilderException

extends CertPathBuilderException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ java.security.cert.CertPathBuilderException
           ↳ sun.security.provider.certpath.SunCertPathBuilderException

Class Overview

This is a subclass of the generic CertPathBuilderException. It contains an adjacency list with information regarding the unsuccessful paths that the SunCertPathBuilder tried.

Summary

Public Constructors
SunCertPathBuilderException()
Constructs a SunCertPathBuilderException with null as its detail message.
SunCertPathBuilderException(String msg)
Constructs a SunCertPathBuilderException with the specified detail message.
SunCertPathBuilderException(Throwable cause)
Constructs a SunCertPathBuilderException that wraps the specified throwable.
SunCertPathBuilderException(String msg, Throwable cause)
Creates a SunCertPathBuilderException with the specified detail message and cause.
Public Methods
AdjacencyList getAdjacencyList()
Returns the adjacency list containing information about the build.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public SunCertPathBuilderException ()

Constructs a SunCertPathBuilderException with null as its detail message.

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

Public Methods

public AdjacencyList getAdjacencyList ()

Returns the adjacency list containing information about the build.

Returns
  • the adjacency list containing information about the build