Package com.xero.api
Class XeroApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xero.api.XeroException
com.xero.api.XeroApiException
- All Implemented Interfaces:
Serializable
public class XeroApiException extends XeroException
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description XeroApiException(int responseCode)XeroApiException(int responseCode, Error error, Exception e)XeroApiException(int responseCode, String message, Error error, Exception e)XeroApiException(int responseCode, String message, Exception e)XeroApiException(int responseCode, Map<String,String> map) -
Method Summary
Modifier and Type Method Description ErrorgetError()StringgetMessage()Map<String,String>getMessages()intgetResponseCode()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XeroApiException
public XeroApiException(int responseCode) -
XeroApiException
-
XeroApiException
-
XeroApiException
-
XeroApiException
-
-
Method Details
-
getResponseCode
public int getResponseCode() -
getMessage
- Overrides:
getMessagein classThrowable
-
getMessages
-
getError
-