APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.validator

public Class ValidatorException

extends CertificateException
Class Inheritance
Imports
java.security.cert.*

ValidatorException thrown by the Validator. It has optional fields that allow better error diagnostics.
Author
Andreas Sterbenz

Field Summary

Modifier and TypeField and Description
private X509Certificate
private static final long
public static final Object
public static final Object
public static final Object
public static final Object
public static final Object
public static final Object
public static final Object
public static final Object
private Object

Constructor Summary

AccessConstructor and Description
public
public
public
public
public
public
public

Method Summary

Modifier and TypeMethod and Description
public X509Certificate
getErrorCertificate()

Get the certificate causing the exception, if available.

public Object
getErrorType()

Get the type of the failure (one of the T_XXX constants), if available.

Field Detail

certback to summary
private X509Certificate cert
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.security.cert.CertificateException.serialVersionUID.

Annotations
@Serial
T_ALGORITHM_DISABLEDback to summary
public static final Object T_ALGORITHM_DISABLED
T_CA_EXTENSIONSback to summary
public static final Object T_CA_EXTENSIONS
T_CERT_EXPIREDback to summary
public static final Object T_CERT_EXPIRED
T_EE_EXTENSIONSback to summary
public static final Object T_EE_EXTENSIONS
T_NAME_CHAININGback to summary
public static final Object T_NAME_CHAINING
T_NO_TRUST_ANCHORback to summary
public static final Object T_NO_TRUST_ANCHOR
T_SIGNATURE_ERRORback to summary
public static final Object T_SIGNATURE_ERROR
T_UNTRUSTED_CERTback to summary
public static final Object T_UNTRUSTED_CERT
typeback to summary
private Object type
Annotations
@SuppressWarnings:serial

Constructor Detail

ValidatorExceptionback to summary
public ValidatorException(String msg)
ValidatorExceptionback to summary
public ValidatorException(String msg, Throwable cause)
Annotations
@SuppressWarnings:this-escape
ValidatorExceptionback to summary
public ValidatorException(Object type)
ValidatorExceptionback to summary
public ValidatorException(Object type, X509Certificate cert)
ValidatorExceptionback to summary
public ValidatorException(Object type, X509Certificate cert, Throwable cause)
Annotations
@SuppressWarnings:this-escape
ValidatorExceptionback to summary
public ValidatorException(String msg, Object type, X509Certificate cert)
ValidatorExceptionback to summary
public ValidatorException(String msg, Object type, X509Certificate cert, Throwable cause)
Annotations
@SuppressWarnings:this-escape

Method Detail

getErrorCertificateback to summary
public X509Certificate getErrorCertificate()

Get the certificate causing the exception, if available.

getErrorTypeback to summary
public Object getErrorType()

Get the type of the failure (one of the T_XXX constants), if available. This may be helpful when designing a user interface.