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