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

See Also:
  • Constructor Details

    • 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.
    • ValidationException

      public ValidationException(String message, Throwable e)
      Constructs the ValidationException with the error message and the throwable object.
      Parameters:
      message - the error message.
      e - The throwable.