public class ServiceSpecificException extends RuntimeException
This exception includes an error code specific to the throwing service. This is mostly used by system services to indicate domain specific error conditions.
Since these exceptions are designed to be passed through Binder interfaces, and to be generated by native-code Binder services, they do not support exception chaining.
Modifier and Type | Field and Description |
---|---|
int |
errorCode |
Constructor and Description |
---|
ServiceSpecificException(int errorCode) |
ServiceSpecificException(int errorCode,
String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceSpecificException(int errorCode, String message)
public ServiceSpecificException(int errorCode)