NetworkNotAvailableException
public
class
NetworkNotAvailableException
extends HarnessRuntimeException
| java.lang.Object | ||
| ↳ | com.android.tradefed.error.HarnessRuntimeException | |
| ↳ | com.android.tradefed.device.NetworkNotAvailableException | |
Thrown when a device is not able to connect to network for testing. This usually gets thrown if a device fails to reconnect to wifi after reboot.
Summary
Public constructors | |
|---|---|
NetworkNotAvailableException(String msg)
Creates a |
|
NetworkNotAvailableException(String msg, Throwable cause)
Creates a |
|
Public constructors
NetworkNotAvailableException
public NetworkNotAvailableException (String msg)
Creates a NetworkNotAvailableException.
| Parameters | |
|---|---|
msg |
String: a descriptive message. |
NetworkNotAvailableException
public NetworkNotAvailableException (String msg,
Throwable cause)Creates a NetworkNotAvailableException.
| Parameters | |
|---|---|
msg |
String: a descriptive message. |
cause |
Throwable: the root Throwable that caused the connection failure. |