Package com.xero.api
Class XeroNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xero.api.XeroException
com.xero.api.XeroNotFoundException
-
Constructor Summary
ConstructorsConstructorDescriptionXeroNotFoundException(int statusCode, String message, Exception e) Init XeroNotFoundException -
Method Summary
Modifier and TypeMethodDescriptionget messageintget Status CodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
XeroNotFoundException
-
-
Method Details
-
getStatusCode
public int getStatusCode()get Status Code- Returns:
- int with server status code.
-
getMessage
get message- Overrides:
getMessagein classThrowable- Returns:
- Sting with the message pertaining to the rate limit
-