Class CesopValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- eu.europa.ec.taxud.cesop.validation.CesopValidationException
-
- All Implemented Interfaces:
Serializable
public class CesopValidationException extends RuntimeException
General CESOP runtime exception.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CesopValidationException(String message)
Constructor.CesopValidationException(String message, ValidationError validationError)
Instantiates a new Cesop validation exception.CesopValidationException(String message, Throwable cause)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationError
getValidationError()
Gets validation error.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CesopValidationException
public CesopValidationException(String message, ValidationError validationError)
Instantiates a new Cesop validation exception.- Parameters:
message
- the messagevalidationError
- the validation error
-
CesopValidationException
public CesopValidationException(String message)
Constructor.- Parameters:
message
- the exception message
-
-
Method Detail
-
getValidationError
public ValidationError getValidationError()
Gets validation error.- Returns:
- the validation error
-
-