Class DcvException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.digicert.validation.exceptions.DcvException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InputException
,PreparationException
,ValidationException
Base Exception class for DCV (Domain Control Validation) related exceptions.
This class serves as the foundational exception for all errors related to Domain Control Validation (DCV). It encapsulates a set of DCV errors, providing a structured way to handle and report issues encountered during the DCV process.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDcvException
(DcvError dcvError) Constructs a new DcvException with the specified DcvError.DcvException
(Set<DcvError> errors) Constructs a new DcvException with a set of specified DcvErrors.DcvException
(Set<DcvError> dcvErrors, Throwable cause) Constructs a new DcvException with a set of specified DcvErrors and an optional cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errors
The set of DCV errors.This field holds a set of `DcvError` enums that represent the specific errors encountered during the DCV process.
-
-
Constructor Details
-
DcvException
Constructs a new DcvException with the specified DcvError.- Parameters:
dcvError
- the DCV error that caused the exception to be thrown
-
DcvException
Constructs a new DcvException with a set of specified DcvErrors.- Parameters:
errors
- the set of DCV errors that caused the exception to be thrown
-
DcvException
Constructs a new DcvException with a set of specified DcvErrors and an optional cause.- Parameters:
dcvErrors
- the set of DCV errors that caused the exception to be throwncause
- the cause of the exception
-