Package com.xero.api
Class XeroException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.xero.api.XeroException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XeroApiException,XeroAuthenticationException,XeroBadRequestException,XeroConflictException,XeroMethodNotAllowedException,XeroNotAvailableException,XeroNotFoundException,XeroNotImplementedException,XeroRateLimitException,XeroServerErrorException
public class XeroException extends RuntimeException
Base application exception all other Xero exceptions should extend.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XeroException()Init Xero ExceptionXeroException(String message)Init Xero ExceptionXeroException(String message, Throwable cause)Init Xero ExceptionXeroException(Throwable cause)Init Xero Exception
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
XeroException
public XeroException()
Init Xero Exception
-
XeroException
public XeroException(Throwable cause)
Init Xero Exception- Parameters:
cause- Throwable reason for exception
-
XeroException
public XeroException(String message)
Init Xero Exception- Parameters:
message- String details about the exception
-
-