Class TradeException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    InvalidFieldsException

    public class TradeException
    extends java.lang.Exception
    Used for all errors raised by the Trading DataSource, or raised by user code that needs to notify the Trading DataSource of an exception during a callback.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TradeException​(java.lang.String message)  
      TradeException​(java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      • 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

      • TradeException

        public TradeException​(java.lang.String message)
      • TradeException

        public TradeException​(java.lang.String message,
                              java.lang.Throwable cause)