Class CalendarException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.codename1.calendar.CalendarException
Exception returned by asynchronous calendar operations.
-
Constructor Summary
ConstructorsConstructorDescriptionCalendarException(CalendarError error, String message) CalendarException(CalendarError error, String message, int responseCode, String responseBody, Throwable cause) CalendarException(CalendarError error, String message, int responseCode, Throwable cause) CalendarException(CalendarError error, String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptiongetError()Returns the provider response body for an HTTP failure, if one was available.intMethods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CalendarException
-
CalendarException
-
CalendarException
-
CalendarException
public CalendarException(CalendarError error, String message, int responseCode, String responseBody, Throwable cause)
-
-
Method Details
-
getError
-
getResponseCode
public int getResponseCode() -
getResponseBody
Returns the provider response body for an HTTP failure, if one was available. This is kept separate from the user-facing exception message.
-