Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.caplin.motif.fx.trading.validator.ValidationException
-
- All Implemented Interfaces:
Serializable
public class ValidationException extends Exception
The Exception to be thrown if the submitted trade is invalid
-
-
Constructor Summary
Constructors Constructor Description ValidationException(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.ValidationException(Throwable e)
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 Detail
-
ValidationException
public ValidationException(String message)
Constructs the ValidationException with the error message.- Parameters:
message
- the error message.
-
ValidationException
public ValidationException(Throwable e)
Constructs the ValidationException with the throwable object.- Parameters:
e
- The throwable.
-
-