Class ExtendedCertPathValidatorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.cert.CertPathValidatorException
se.swedenconnect.sigval.cert.chain.ExtendedCertPathValidatorException
- All Implemented Interfaces:
Serializable
Extended path validator exception providing detailed path validation result data
Note that several reasons for path building failure is not specified in the Reason result. To get these reasons you have to parse through the throwable to find out why path validation failed.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.security.cert.CertPathValidatorException
CertPathValidatorException.BasicReason, CertPathValidatorException.Reason
-
Constructor Summary
ConstructorsConstructorDescriptionExtendedCertPathValidatorException
(String msg, Throwable cause, PathValidationResult pathValidationResult) ConstructorConstructorExtendedCertPathValidatorException
(Throwable cause, PathValidationResult pathValidationResult) Constructor -
Method Summary
Methods inherited from class java.security.cert.CertPathValidatorException
getCertPath, getIndex, getReason
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExtendedCertPathValidatorException
public ExtendedCertPathValidatorException(String msg, Throwable cause, PathValidationResult pathValidationResult) Constructor- Parameters:
msg
- messagecause
- Exception that was the underlying cause of this exceptionpathValidationResult
- the path validation result obtained when path validation failed
-
ExtendedCertPathValidatorException
public ExtendedCertPathValidatorException(Throwable cause, PathValidationResult pathValidationResult) Constructor- Parameters:
cause
- Exception that was the underlying cause of this exceptionpathValidationResult
- the path validation result obtained when path validation failed
-
ExtendedCertPathValidatorException
Constructor- Parameters:
cause
- exception that caused path validation to fail
-