public class BranchError
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ERR_BRANCH_DUPLICATE_REFERRAL_CODE |
static int |
ERR_BRANCH_DUPLICATE_URL |
static int |
ERR_BRANCH_INIT_FAILED |
static int |
ERR_BRANCH_REDEEM_REWARD |
static int |
ERR_INVALID_REFERRAL_CODE |
static int |
ERR_NO_INTERNET_PERMISSION |
static int |
ERR_NO_SESSION |
| Constructor and Description |
|---|
BranchError(java.lang.String failMsg,
int statusCode) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Returns the message explaining the error.
|
java.lang.String |
toString()
Overridden toString method for this object; returns the error message rather than the
object's address.
|
public static final int ERR_NO_SESSION
public static final int ERR_NO_INTERNET_PERMISSION
public static final int ERR_INVALID_REFERRAL_CODE
public static final int ERR_BRANCH_INIT_FAILED
public static final int ERR_BRANCH_DUPLICATE_URL
public static final int ERR_BRANCH_DUPLICATE_REFERRAL_CODE
public static final int ERR_BRANCH_REDEEM_REWARD
public java.lang.String getMessage()
Returns the message explaining the error.
String value that can be used in error logging or for dialog display
to the user.public java.lang.String toString()
Overridden toString method for this object; returns the error message rather than the object's address.
toString in class java.lang.ObjectString value representing the object's current state.