Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.digicert.validation.exceptions.DcvException
com.digicert.validation.exceptions.ValidationException
- All Implemented Interfaces:
Serializable
Exception thrown when Validation fails.
The `ValidationException` class is a custom exception that is thrown when a validation process fails. It extends the `DcvException` class, inheriting its properties and methods. This exception is specifically designed to handle validation errors that occur during the validation of DNS, email, or file validation methods.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException
(DcvError dcvError) Constructs a new ValidationException with the specified DcvError.ValidationException
(Set<DcvError> errors) Constructs a new ValidationException with a set of specified DcvErrors. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
Constructs a new ValidationException with the specified DcvError.- Parameters:
dcvError
- the DCV error
-
ValidationException
Constructs a new ValidationException with a set of specified DcvErrors.- Parameters:
errors
- the set of DCV errors
-