Class CallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.codename1.call.CallException
Thrown through the failure path of every
AsyncResource returned by the
com.codename1.call APIs, and passed to the failure callbacks of the
session and directory listeners. getError() returns a typed
CallError so callers react without string-matching the message.-
Constructor Summary
ConstructorsConstructorDescriptionCallException(CallError error) CallException(CallError error, String message) CallException(CallError error, String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CallException
-
CallException
-
CallException
-
-
Method Details
-
getError
Typed error code describing the failure. Nevernull.
-