}
@Override
public String withdrawFunds(String currency, BigDecimal amount, String address) throws IOException {
CampBXResponse campBXResponse = withdrawCampBXFunds(amount, address);
logger.debug("campBXResponse = {}", campBXResponse);
if (!campBXResponse.isError()) {
return campBXResponse.getSuccess();
}
else {
throw new ExchangeException("Error calling withdrawFunds(): " + campBXResponse.getError());
}
}