Class 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 code
      java.lang.String getErrorMessage()
      Returns the error message
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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"
    • Method Detail

      • getErrorCode

        public java.lang.String getErrorCode()
        Returns the error code
        Returns:
        the error code
      • getErrorMessage

        public java.lang.String getErrorMessage()
        Returns the error message
        Returns:
        the error message