Package org.knowm.xchange.exceptions
Class CurrencyPairNotValidException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.knowm.xchange.exceptions.ExchangeException
org.knowm.xchange.exceptions.CurrencyPairNotValidException
- All Implemented Interfaces:
Serializable
Exception indicating that a request was made with a
CurrencyPair
that is not supported on
this exchange.- Author:
- bryant_harris
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCurrencyPairNotValidException
(String message) CurrencyPairNotValidException
(String message, Throwable cause) CurrencyPairNotValidException
(String message, Throwable cause, CurrencyPair currencyPair) CurrencyPairNotValidException
(String message, CurrencyPair currencyPair) CurrencyPairNotValidException
(Throwable cause, CurrencyPair currencyPair) CurrencyPairNotValidException
(CurrencyPair currencyPair) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CurrencyPairNotValidException
public CurrencyPairNotValidException() -
CurrencyPairNotValidException
-
CurrencyPairNotValidException
-
CurrencyPairNotValidException
-
CurrencyPairNotValidException
-
CurrencyPairNotValidException
-
CurrencyPairNotValidException
-
CurrencyPairNotValidException
-
-
Method Details
-
getCurrencyPair
- Returns:
- The currency pair that caused the exception.
-