Class ValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.europa.ec.taxud.validation.ValidationException
All Implemented Interfaces:
Serializable

public class ValidationException extends RuntimeException
ValidationException represents a fatal error in the Validation Module. It is usually unrecoverable, and propagates to the caller. This exception is only thrown for internal, technical errors, not for validation issues in the input message.
See Also:
  • Constructor Details

    • ValidationException

      public ValidationException(String message)
      Instantiates a new validation exception.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
    • ValidationException

      public ValidationException(String message, Throwable cause)
      Instantiates a new validation exception.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)