DeviceRuntimeException
public
class
DeviceRuntimeException
extends Object
java.lang.Object | |
↳ | com.android.tradefed.device.DeviceRuntimeException |
Thrown when a device action did not results in the expected results.
For example: 'pm list users' is vastly expected to return the list of users, failure to do so should be raised as a DeviceRuntimeException since something went very wrong.
Summary
Public constructors | |
---|---|
DeviceRuntimeException(String msg)
Creates a |
|
DeviceRuntimeException(Throwable t)
Creates a |
|
DeviceRuntimeException(String msg, Throwable t)
Creates a |
Public constructors
DeviceRuntimeException
public DeviceRuntimeException (String msg)
Creates a DeviceRuntimeException
.
Parameters | |
---|---|
msg |
String : a descriptive error message of the error.
|
DeviceRuntimeException
public DeviceRuntimeException (Throwable t)
Creates a DeviceRuntimeException
.
Parameters | |
---|---|
t |
Throwable : Throwable that should be wrapped in DeviceRuntimeException .
|
DeviceRuntimeException
public DeviceRuntimeException (String msg, Throwable t)
Creates a DeviceRuntimeException
.
Parameters | |
---|---|
msg |
String : a descriptive error message of the error |
t |
Throwable : Throwable that should be wrapped in DeviceRuntimeException .
|