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
-
- All Implemented Interfaces:
Serializable
public class XeroNotFoundException extends XeroException
handle not found exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XeroNotFoundException(int statusCode, String message, Exception e)Init XeroNotFoundException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()get messageintgetStatusCode()get Status Code-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
XeroNotFoundException
public XeroNotFoundException(int statusCode, String message, Exception e)Init XeroNotFoundException- Parameters:
statusCode- int the server status code returned.message- String the message pertaining to the rate limite- Exception object with details about the original exception
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
get Status Code- Returns:
- int with server status code.
-
getMessage
public String getMessage()
get message- Overrides:
getMessagein classThrowable- Returns:
- Sting with the message pertaining to the rate limit
-
-