Package org.knowm.xchange.exceptions
Class InstrumentNotValidException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.knowm.xchange.exceptions.ExchangeException
org.knowm.xchange.exceptions.InstrumentNotValidException
- All Implemented Interfaces:
Serializable
public class InstrumentNotValidException extends ExchangeException
Exception indicating that a request was made with a
Instrument
that is not supported on
this exchange.- Author:
- bryant_harris
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InstrumentNotValidException()
InstrumentNotValidException(String message)
InstrumentNotValidException(String message, Throwable cause)
InstrumentNotValidException(String message, Throwable cause, Instrument instrument)
InstrumentNotValidException(String message, Instrument instrument)
InstrumentNotValidException(Throwable cause)
InstrumentNotValidException(Throwable cause, Instrument instrument)
InstrumentNotValidException(Instrument instrument)
-
Method Summary
Modifier and Type Method Description Instrument
getInstrument()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InstrumentNotValidException
public InstrumentNotValidException() -
InstrumentNotValidException
-
InstrumentNotValidException
-
InstrumentNotValidException
-
InstrumentNotValidException
-
InstrumentNotValidException
-
InstrumentNotValidException
-
InstrumentNotValidException
-
-
Method Details
-
getInstrument
- Returns:
- The Instrument that caused the exception.
-