Class TradeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- cloud.metaapi.sdk.clients.meta_api.TradeException
-
- All Implemented Interfaces:
Serializable
public class TradeException extends Exception
Error which indicates that a trade have failed- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description intnumericCodeNumeric error codeStringstringCodeString error code
-
Constructor Summary
Constructors Constructor Description TradeException(String message, int numericCode, String stringCode)Constructs the timeout error
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
numericCode
public int numericCode
Numeric error code
-
stringCode
public String stringCode
String error code
-
-