Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.caplin.motif.fx.trading.validator.ValidationException
- All Implemented Interfaces:
Serializable
The Exception to be thrown if the submitted trade is invalid
-
Constructor Summary
ConstructorDescriptionValidationException
(String message) Constructs the ValidationException with the error message.ValidationException
(String message, Throwable e) Constructs the ValidationException with the error message and the throwable object.Constructs the ValidationException with the throwable object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
Constructs the ValidationException with the error message.- Parameters:
message
- the error message.
-
ValidationException
Constructs the ValidationException with the throwable object.- Parameters:
e
- The throwable.
-
ValidationException
Constructs the ValidationException with the error message and the throwable object.- Parameters:
message
- the error message.e
- The throwable.
-