public class MobileException
extends java.lang.Exception
Mobile SDK uses this class and its subclasses to manage and publish exception cases
Modifier and Type | Field and Description |
---|---|
int |
retryAfter |
Constructor and Description |
---|
MobileException(int errorCode,
java.lang.String message)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
MobileError type checker
|
int |
getErrorCode()
Returns the error code information
|
java.lang.String |
toString()
Textual representation of the exception
|
public MobileException(int errorCode, java.lang.String message)
errorCode
- error code value of the exceptionmessage
- detailed information related to the exceptionConstants.ErrorCodes
public int getErrorCode()
public java.lang.String toString()
toString
in class java.lang.Throwable
String
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object
Boolean