|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
mymobilesite.communication.MessageException
public class MessageException
This class is responsible for holding the exceptions encountered in the message classes.
Field Summary | |
---|---|
private int |
errorCode
|
Constructor Summary | |
---|---|
MessageException(int errorCode)
Constructor that creates an exception with a message based on the errorCode. |
|
MessageException(int errorCode,
java.lang.String msg)
Constructor that creates an exception with a customised message. |
Method Summary | |
---|---|
int |
getErrorCode()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private int errorCode
Constructor Detail |
---|
public MessageException(int errorCode)
errorCode
- int The error code describing the situation. Must be one of the
constants in Language beginning with "ERROR_".public MessageException(int errorCode, java.lang.String msg)
errorCode
- int The error code describing the situation. Must be one of the
constants in Language beginning with "ERROR_".Method Detail |
---|
public int getErrorCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |