public class RemoteException extends AndroidException
Constructor and Description |
---|
RemoteException() |
RemoteException(String message) |
Modifier and Type | Method and Description |
---|---|
RuntimeException |
rethrowAsRuntimeException() |
RuntimeException |
rethrowFromSystemServer()
Rethrow this exception when we know it came from the system server.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RemoteException()
public RemoteException(String message)
public RuntimeException rethrowAsRuntimeException()
public RuntimeException rethrowFromSystemServer()
DeadSystemException
signal to avoid spamming logs with
misleading stack traces.
Apps making calls into the system server may end up persisting internal state or making security decisions based on the perceived success or failure of a call, or any default values returned. For this reason, we want to strongly throw when there was trouble with the transaction.