public class CalendarException
Exception returned by asynchronous calendar operations.
Constructors
Methods
public CalendarError getError() | |
public int getResponseCode() | |
public String getResponseBody() | Returns the provider response body for an HTTP failure, if one was available. |
Inherited methods
Constructor details
CalendarException
public CalendarException(CalendarError error, String message)CalendarException
public CalendarException(CalendarError error, String message, Throwable cause)CalendarException
public CalendarException(CalendarError error, String message, int responseCode, Throwable cause)CalendarException
public CalendarException(CalendarError error, String message, int responseCode, String responseBody, Throwable cause)Method details
getError
public CalendarError getError()getResponseCode
public int getResponseCode()getResponseBody
public String getResponseBody()Returns the provider response body for an HTTP failure, if one was
available. This is kept separate from the user-facing exception message.