Top Description Fields Constructors Methods
sun.security.provider.certpath

public Class SunCertPathBuilderException

extends CertPathBuilderException
Class Inheritance
Imports
java.security.cert.CertPathBuilderException

This is a subclass of the generic CertPathBuilderException. It contains an adjacency list with information regarding the unsuccessful paths that the SunCertPathBuilder tried.
Author
Sean Mullan
Since
1.4
See Also
CertPathBuilderException

Field Summary

Modifier and TypeField and Description
private transient AdjacencyList
private static final long

Constructor Summary

AccessConstructor and Description
public
SunCertPathBuilderException()

Constructs a SunCertPathBuilderException with null as its detail message.

public
SunCertPathBuilderException(String
the detail message
msg
)

Constructs a SunCertPathBuilderException with the specified detail message.

public
SunCertPathBuilderException(Throwable
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.
cause
)

Constructs a SunCertPathBuilderException that wraps the specified throwable.

public
SunCertPathBuilderException(String
the detail message
msg
,
Throwable
the cause
cause
)

Creates a SunCertPathBuilderException with the specified detail message and cause.

pack-priv
SunCertPathBuilderException(String
the detail message
msg
,
AdjacencyList
the adjacency list
adjList
)

Creates a SunCertPathBuilderException with the specified detail message and adjacency list.

pack-priv
SunCertPathBuilderException(String
the detail message
msg
,
Throwable
the throwable that occurred
cause
,
AdjacencyList
Adjacency list
adjList
)

Creates a SunCertPathBuilderException with the specified detail message, cause, and adjacency list.

Method Summary

Modifier and TypeMethod and Description
public AdjacencyList

Returns:

the adjacency list containing information about the build
getAdjacencyList
()

Returns the adjacency list containing information about the build.

Field Detail

adjListback to summary
private transient AdjacencyList adjList
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.security.cert.CertPathBuilderException.serialVersionUID.

Annotations
@Serial

Constructor Detail

SunCertPathBuilderExceptionback to summary
public SunCertPathBuilderException()

Constructs a SunCertPathBuilderException with null as its detail message.

SunCertPathBuilderExceptionback to summary
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:String

the detail message

SunCertPathBuilderExceptionback to summary
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:Throwable

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.

SunCertPathBuilderExceptionback to summary
public SunCertPathBuilderException(String msg, Throwable cause)

Creates a SunCertPathBuilderException with the specified detail message and cause.

Parameters
msg:String

the detail message

cause:Throwable

the cause

SunCertPathBuilderExceptionback to summary
pack-priv SunCertPathBuilderException(String msg, AdjacencyList adjList)

Creates a SunCertPathBuilderException with the specified detail message and adjacency list.

Parameters
msg:String

the detail message

adjList:AdjacencyList

the adjacency list

SunCertPathBuilderExceptionback to summary
pack-priv SunCertPathBuilderException(String msg, Throwable cause, AdjacencyList adjList)

Creates a SunCertPathBuilderException with the specified detail message, cause, and adjacency list.

Parameters
msg:String

the detail message

cause:Throwable

the throwable that occurred

adjList:AdjacencyList

Adjacency list

Method Detail

getAdjacencyListback to summary
public AdjacencyList getAdjacencyList()

Returns the adjacency list containing information about the build.

Returns:AdjacencyList

the adjacency list containing information about the build