public class EstimoteServerException extends EstimoteException
Modifier and Type | Field and Description |
---|---|
java.lang.String |
body
The body of the returned error.
|
int |
errorCode
The HTTP error code.
|
Constructor and Description |
---|
EstimoteServerException(int statusCode,
java.lang.String message) |
EstimoteServerException(RetrofitError error) |
Modifier and Type | Method and Description |
---|---|
DeviceConnectionException |
asDeviceConnectionException(DeviceId id)
Converts Cloud exception into DeviceConnectionException.
|
public final int errorCode
public final java.lang.String body
public EstimoteServerException(RetrofitError error)
public EstimoteServerException(int statusCode, java.lang.String message)
public DeviceConnectionException asDeviceConnectionException(DeviceId id)
id
- Device ID needed to add message about not owned device