Package com.xero.api
Class XeroUnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xero.api.XeroException
com.xero.api.XeroAuthenticationException
com.xero.api.XeroUnauthorizedException
-
Constructor Summary
ConstructorsConstructorDescriptionXeroUnauthorizedException(int statusCode, String message, Exception e) Init XeroUnauthorizedException -
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
-
XeroUnauthorizedException
-
-
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
-