Save This Page
Home » openjdk-7 » sun.security » validator » [javadoc | source]
sun.security.validator
public class: ValidatorException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.security.GeneralSecurityException
            java.security.cert.CertificateException
               sun.security.validator.ValidatorException

All Implemented Interfaces:
    Serializable

ValidatorException thrown by the Validator. It has optional fields that allow better error diagnostics.
Field Summary
public static final  Object T_NO_TRUST_ANCHOR     
public static final  Object T_EE_EXTENSIONS     
public static final  Object T_CA_EXTENSIONS     
public static final  Object T_CERT_EXPIRED     
public static final  Object T_SIGNATURE_ERROR     
public static final  Object T_NAME_CHAINING     
Constructor:
 public ValidatorException(String msg) 
 public ValidatorException(Object type) 
 public ValidatorException(String msg,
    Throwable cause) 
 public ValidatorException(Object type,
    X509Certificate cert) 
 public ValidatorException(Object type,
    X509Certificate cert,
    Throwable cause) 
 public ValidatorException(String msg,
    Object type,
    X509Certificate cert) 
 public ValidatorException(String msg,
    Object type,
    X509Certificate cert,
    Throwable cause) 
Method from sun.security.validator.ValidatorException Summary:
getErrorCertificate,   getErrorType
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.validator.ValidatorException Detail:
 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. This may be helpful when designing a user interface.