Class OrderLastLookException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.caplin.orders.barracuda.extension.submission.OrderLastLookException
-
- All Implemented Interfaces:
java.io.Serializable
public class OrderLastLookException extends java.lang.Exception
An instance of this Exception should be thrown if an FX API object or bcdfx api object has been deemed to be invalid/rejected. An error code and message must be provided. It is highly recommended that an error code number be selected that is over 1000 in order to avoid clashes with existing error codes- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OrderLastLookException(java.lang.String errorCode, java.lang.String errorMessage)
Constructs an instance of OrderLastLookException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getErrorCode()
Returns the error codejava.lang.String
getErrorMessage()
Returns the error message
-
-
-
Constructor Detail
-
OrderLastLookException
public OrderLastLookException(java.lang.String errorCode, java.lang.String errorMessage)
Constructs an instance of OrderLastLookException- Parameters:
errorCode
- The error code eg. "1001"errorMessage
- The error message eg. "Invalid numb number of legs on strategy type"
-
-