Package org.knowm.xchange.exceptions
Class ExchangeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.knowm.xchange.exceptions.ExchangeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CoindirectException
,CoinmateException
,CryptowatchException
,CurrencyPairNotValidException
,ExchangeSecurityException
,ExchangeUnavailableException
,FrequencyLimitExceededException
,FundsExceededException
,InstrumentNotValidException
,InternalServerException
,MarketSuspendedException
,NonceException
,OkCoinException
,OrderNotValidException
,RateLimitExceededException
public class ExchangeException extends RuntimeException
Exception to provide the following to:
- Indication of generic Exchange exception
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ExchangeException(String message)
Constructs anExchangeException
with the specified detail message.ExchangeException(String message, Throwable cause)
Constructs anExchangeException
with the specified detail message and cause.ExchangeException(Throwable cause)
Constructs anExchangeException
with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExchangeException
Constructs anExchangeException
with the specified detail message.- Parameters:
message
- the detail message.
-
ExchangeException
Constructs anExchangeException
with the specified cause.- Parameters:
cause
- the underlying cause.
-
ExchangeException
Constructs anExchangeException
with the specified detail message and cause.- Parameters:
message
- the detail message.cause
- the underlying cause.
-