Class FreshBooksException

java.lang.Object
java.lang.Throwable
java.lang.Exception
net.amcintosh.freshbooks.FreshBooksException
All Implemented Interfaces:
Serializable

public class FreshBooksException extends Exception
Wraps errors coming from FreshBooks API calls.
See Also:
  • Field Details

    • statusMessage

      public String statusMessage
    • statusCode

      public int statusCode
    • errorNo

      public int errorNo
    • field

      public String field
    • object

      public String object
    • value

      public String value
  • Constructor Details

    • FreshBooksException

      public FreshBooksException(String message, String statusMessage, int statusCode, Throwable cause)
    • FreshBooksException

      public FreshBooksException(String message, String statusMessage, int statusCode)
    • FreshBooksException

      public FreshBooksException(String message, String statusMessage, int statusCode, int errorNo)
    • FreshBooksException

      public FreshBooksException(String message, String statusMessage, int statusCode, int errorNo, String field, String object, String value)
  • Method Details

    • getValidationError

      public String getValidationError()