Class ValidationException

All Implemented Interfaces:
Serializable

public class ValidationException extends DcvException
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 Details

    • ValidationException

      public ValidationException(DcvError dcvError)
      Constructs a new ValidationException with the specified DcvError.
      Parameters:
      dcvError - the DCV error
    • ValidationException

      public ValidationException(Set<DcvError> errors)
      Constructs a new ValidationException with a set of specified DcvErrors.
      Parameters:
      errors - the set of DCV errors