diff --git a/xchange-btcmarkets/src/main/java/org/knowm/xchange/btcmarkets/BTCMarketsAuthenticatedV3.java b/xchange-btcmarkets/src/main/java/org/knowm/xchange/btcmarkets/BTCMarketsAuthenticatedV3.java index 3a7ef144bef..331e9d2d259 100644 --- a/xchange-btcmarkets/src/main/java/org/knowm/xchange/btcmarkets/BTCMarketsAuthenticatedV3.java +++ b/xchange-btcmarkets/src/main/java/org/knowm/xchange/btcmarkets/BTCMarketsAuthenticatedV3.java @@ -5,6 +5,7 @@ import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import org.knowm.xchange.btcmarkets.dto.BTCMarketsException; +import org.knowm.xchange.btcmarkets.dto.v3.BTCMarketsExceptionV3; import org.knowm.xchange.btcmarkets.dto.v3.account.BTCMarketsAddressesResponse; import org.knowm.xchange.btcmarkets.dto.v3.account.BTCMarketsTradingFeesResponse; import org.knowm.xchange.btcmarkets.dto.v3.trade.BTCMarketsPlaceOrderRequest; @@ -25,7 +26,7 @@ BTCMarketsPlaceOrderResponse placeOrder( @HeaderParam("BM-AUTH-TIMESTAMP") SynchronizedValueFactory nonceFactory, @HeaderParam("BM-AUTH-SIGNATURE") BTCMarketsDigestV3 signer, BTCMarketsPlaceOrderRequest order) - throws BTCMarketsException, IOException; + throws BTCMarketsExceptionV3, IOException; @GET @Path("addresses") @@ -34,7 +35,7 @@ BTCMarketsAddressesResponse depositAddress( @HeaderParam("BM-AUTH-TIMESTAMP") SynchronizedValueFactory nonceFactory, @HeaderParam("BM-AUTH-SIGNATURE") BTCMarketsDigestV3 signer, @QueryParam("assetName") String assetName) - throws BTCMarketsException, IOException; + throws BTCMarketsExceptionV3, IOException; @GET @Path("trades") @@ -46,7 +47,7 @@ List trades( @QueryParam("before") String before, @QueryParam("after") String after, @QueryParam("limit") Integer limit) - throws BTCMarketsException, IOException; + throws BTCMarketsExceptionV3, IOException; @GET @Path("accounts/me/trading-fees") @@ -54,5 +55,5 @@ BTCMarketsTradingFeesResponse tradingFees( @HeaderParam("BM-AUTH-APIKEY") String publicKey, @HeaderParam("BM-AUTH-TIMESTAMP") SynchronizedValueFactory nonceFactory, @HeaderParam("BM-AUTH-SIGNATURE") BTCMarketsDigestV3 signer) - throws BTCMarketsException, IOException; + throws BTCMarketsExceptionV3, IOException; } diff --git a/xchange-btcmarkets/src/main/java/org/knowm/xchange/btcmarkets/dto/v3/marketdata/BTCMarketsMarketTradeParams.java b/xchange-btcmarkets/src/main/java/org/knowm/xchange/btcmarkets/dto/v3/marketdata/BTCMarketsMarketTradeParams.java index 4cbd9f2aac8..efa102bf401 100644 --- a/xchange-btcmarkets/src/main/java/org/knowm/xchange/btcmarkets/dto/v3/marketdata/BTCMarketsMarketTradeParams.java +++ b/xchange-btcmarkets/src/main/java/org/knowm/xchange/btcmarkets/dto/v3/marketdata/BTCMarketsMarketTradeParams.java @@ -23,7 +23,7 @@ public BTCMarketsMarketTradeParams( public String toString() { return String.format( - "BTCMarketsMarketTradeParams: {limt: %s, before: %s, after: %s, CurrencyPair: %s}", + "BTCMarketsMarketTradeParams: {limit: %s, before: %s, after: %s, CurrencyPair: %s}", limit, before, after, currencyPair); } }