public class Error extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Error.Type
Describes the error type.
|
| Constructor and Description |
|---|
Error(String cause)
Instantiates a new error, caused by invalid arguments or conditions.
|
Error(com.android.volley.VolleyError cause)
Instantiates a new error, using the specified caught exception as the source of information.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorId()
Gets the error ID.
|
String |
getErrorMessage()
Gets the error message.
|
Error.Type |
getErrorType()
Gets the error type.
|
String |
toString() |
public Error(com.android.volley.VolleyError cause)
cause - Original error.public Error(String cause)
cause - A description of the error.public Error.Type getErrorType()
public int getErrorId()
public String getErrorMessage()
Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.