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
public class CurrencyPairNotValidException extends ExchangeException
Exception indicating that a request was made with a
CurrencyPair
that is not supported on
this exchange.- Author:
- bryant_harris
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CurrencyPairNotValidException()
CurrencyPairNotValidException(String message)
CurrencyPairNotValidException(String message, Throwable cause)
CurrencyPairNotValidException(String message, Throwable cause, CurrencyPair currencyPair)
CurrencyPairNotValidException(String message, CurrencyPair currencyPair)
CurrencyPairNotValidException(Throwable cause)
CurrencyPairNotValidException(Throwable cause, CurrencyPair currencyPair)
CurrencyPairNotValidException(CurrencyPair currencyPair)
-
Method Summary
Modifier and Type Method Description CurrencyPair
getCurrencyPair()
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.
-