Package com.xero.api
Class XeroApiExceptionHandler
java.lang.Object
com.xero.api.XeroApiExceptionHandler
public class XeroApiExceptionHandler extends Object
-
Constructor Summary
Constructors Constructor Description XeroApiExceptionHandler() -
Method Summary
Modifier and Type Method Description voidexecute(com.google.api.client.http.HttpResponseException e)voidexecute(com.google.api.client.http.HttpResponseException e, ApiClient apiClient)voidvalidationError(Integer statusCode, String objectType, Problem error, Exception e)voidvalidationError(Integer statusCode, String objectType, Problem error, Exception e)voidvalidationError(String objectType, Error error, Exception e)voidvalidationError(String objectType, Error error, Exception e)voidvalidationError(String objectType, FeedConnections error, Exception e)voidvalidationError(String objectType, Statements error, Exception e)voidvalidationError(String objectType, Employees employees, Exception e)voidvalidationError(String objectType, LeaveApplications leaveApplications, Exception e)voidvalidationError(String objectType, PayItems payItems, Exception e)voidvalidationError(String objectType, PayrollCalendars payrollCalendars, Exception e)voidvalidationError(String objectType, PayRuns payRuns, Exception e)voidvalidationError(String objectType, SuperFunds superFunds, Exception e)voidvalidationError(String objectType, Timesheets timesheets, Exception e)voidvalidationError(String objectType, String msg, Exception e)
-
Constructor Details
-
XeroApiExceptionHandler
public XeroApiExceptionHandler()
-
-
Method Details
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
validationError
-
execute
public void execute(com.google.api.client.http.HttpResponseException e) -
execute
public void execute(com.google.api.client.http.HttpResponseException e, ApiClient apiClient) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException- Throws:
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOException
-