Class InputException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.digicert.validation.exceptions.DcvException
com.digicert.validation.exceptions.InputException
- All Implemented Interfaces:
Serializable
Exception thrown when there is an issue with the input supplied to the library.
The `InputException` class is a specialized exception that extends the `DcvException` class. It is used to signal problems related to the input provided to the library. This exception is typically thrown when the input does not meet the expected format, contains invalid values, or fails validation checks.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInputException
(DcvError dcvError) Constructs a new InputException `InputException` with a specific `DcvError` instance.InputException
(DcvError dcvError, Throwable cause) Constructs a new `InputException` with a specific `DcvError` instance and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InputException
Constructs a new InputException `InputException` with a specific `DcvError` instance.- Parameters:
dcvError
- the DCV error that caused the exception to be thrown
-
InputException
Constructs a new `InputException` with a specific `DcvError` instance and a cause.- Parameters:
dcvError
- the DCV error that caused the exception to be throwncause
- the cause of the exception
-