public class ControllerInvocationException
extends java.lang.RuntimeException
TelephonyController
when the
invocation of the underlying Android OS method fails. This may be caught and
inspected to determine the root cause of the error.Throwable.getCause()
,
Serialized FormConstructor and Description |
---|
ControllerInvocationException(java.lang.String sMethod,
java.lang.Throwable xCause)
Constructs an exception with a standardized notice of the method name,
and the cause of the failure.
|
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getMessage(java.lang.String sMethod)
Generates the exception's standard message based on the method name.
|
public ControllerInvocationException(java.lang.String sMethod, java.lang.Throwable xCause)
sMethod
- the name of the method that could not be invokedxCause
- the root cause of the failure