Package net.amcintosh.freshbooks
Class FreshBooksException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.amcintosh.freshbooks.FreshBooksException
- All Implemented Interfaces:
Serializable
Wraps errors coming from FreshBooks API calls.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
int
-
Constructor Summary
ConstructorDescriptionFreshBooksException
(String message, String statusMessage, int statusCode) FreshBooksException
(String message, String statusMessage, int statusCode, int errorNo) FreshBooksException
(String message, String statusMessage, int statusCode, int errorNo, String field, String object, String value) FreshBooksException
(String message, String statusMessage, int statusCode, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
statusMessage
-
statusCode
public int statusCode -
errorNo
public int errorNo -
field
-
object
-
value
-
-
Constructor Details
-
FreshBooksException
-
FreshBooksException
-
FreshBooksException
-
FreshBooksException
-
-
Method Details
-
getValidationError
-