
com.connectifier.xeroclient.XeroApiException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
Xero API Java client library
The newest version!
// Copyright 2014 Connectifier, Inc. All Rights Reserved.
package com.connectifier.xeroclient;
public class XeroApiException extends RuntimeException {
private static final long serialVersionUID = 1L;
private final int responseCode;
public XeroApiException(int responseCode) {
super(responseCode + " response.");
this.responseCode = responseCode;
}
public XeroApiException(int responseCode, String message) {
super(responseCode + " response: " + message);
this.responseCode = responseCode;
}
public int getResponseCode() {
return responseCode;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy