Package com.xero.api
Class XeroNotAvailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.xero.api.XeroException
-
- com.xero.api.XeroNotAvailableException
-
- All Implemented Interfaces:
Serializable
public class XeroNotAvailableException extends XeroException
handle not available exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XeroNotAvailableException(int statusCode, String message, Exception e)XeroNotAvailableException
-
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
-
XeroNotAvailableException
public XeroNotAvailableException(int statusCode, String message, Exception e)XeroNotAvailableException- Parameters:
statusCode- Integer the server status code returned.message- String with details about the exceptione- Exception object with details about the original exception
-
-
Method Detail
-
getStatusCode
public int getStatusCode()
get status code- Returns:
- statusCode
-
getMessage
public String getMessage()
get message- Overrides:
getMessagein classThrowable- Returns:
- message
-
-