Package com.batch.android.core
Class Webservice.WebserviceError
- java.lang.Object
-
- java.lang.Throwable
-
- com.batch.android.core.Webservice.WebserviceError
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Webservice
public static class Webservice.WebserviceError extends java.lang.ThrowableError thrown by Webservice on error- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebservice.WebserviceError.ReasonA possible reason of error
-
Constructor Summary
Constructors Modifier Constructor Description protectedWebserviceError(Webservice.WebserviceError.Reason reason)protectedWebserviceError(Webservice.WebserviceError.Reason reason, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Webservice.WebserviceError.ReasongetReason()Return the reason of the error
-
-
-
Constructor Detail
-
WebserviceError
protected WebserviceError(Webservice.WebserviceError.Reason reason, java.lang.Throwable cause)
- Parameters:
reason-cause-
-
WebserviceError
protected WebserviceError(Webservice.WebserviceError.Reason reason)
- Parameters:
reason-
-
-
Method Detail
-
getReason
public Webservice.WebserviceError.Reason getReason()
Return the reason of the error- Returns:
-
-