Class 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 Details

    • CurrencyPairNotValidException

      public CurrencyPairNotValidException()
    • CurrencyPairNotValidException

      public CurrencyPairNotValidException​(String message, Throwable cause, CurrencyPair currencyPair)
    • CurrencyPairNotValidException

      public CurrencyPairNotValidException​(String message, Throwable cause)
    • CurrencyPairNotValidException

      public CurrencyPairNotValidException​(String message)
    • CurrencyPairNotValidException

      public CurrencyPairNotValidException​(String message, CurrencyPair currencyPair)
    • CurrencyPairNotValidException

      public CurrencyPairNotValidException​(Throwable cause)
    • CurrencyPairNotValidException

      public CurrencyPairNotValidException​(Throwable cause, CurrencyPair currencyPair)
    • CurrencyPairNotValidException

      public CurrencyPairNotValidException​(CurrencyPair currencyPair)
  • Method Details

    • getCurrencyPair

      public CurrencyPair getCurrencyPair()
      Returns:
      The currency pair that caused the exception.