|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.objectxp.msg.MessageException
com.objectxp.msg.Cimd2Exception
public class Cimd2Exception
This exception will be thrown by the Cimd2SmsService for CIMD2 specific exceptions. See the Nokia CIMD2 Specification available at forum.nokia.com for more information about possible error codes.
Cimd2SmsService,
Serialized Form| Field Summary | |
|---|---|
static int |
ERROR_CODE_UNKNOWN
Unknown error code |
static int |
ERROR_TYPE_GENERAL
Type of CIMD2 error: General |
static int |
ERROR_TYPE_GENERIC
Generic error response |
static int |
ERROR_TYPE_INTEGRITY
Response integrity failure |
static int |
ERROR_TYPE_NACK
Type of CIMD2 error: NACK |
static int |
ERROR_TYPE_UNKNOWN
Unknown error |
| Method Summary | |
|---|---|
int |
getErrorCode()
Returns the error code for General errors. |
java.lang.String |
getErrorText()
Returns the error text. |
int |
getErrorType()
Returns the type of CIMD2 error. |
java.lang.String |
getMessage()
Get the message for this Exception |
boolean |
isOffsetMismatch()
Returns true if a offset mismatch occured. |
boolean |
isSequenceMismatch()
Returns true if a sequence mismatch occured. |
| Methods inherited from class com.objectxp.msg.MessageException |
|---|
getException, printStackTrace, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ERROR_TYPE_GENERAL
public static final int ERROR_TYPE_NACK
public static final int ERROR_TYPE_INTEGRITY
public static final int ERROR_TYPE_GENERIC
public static final int ERROR_TYPE_UNKNOWN
public static final int ERROR_CODE_UNKNOWN
| Method Detail |
|---|
public java.lang.String getMessage()
MessageException
getMessage in class MessageExceptionpublic int getErrorType()
ERROR_TYPE_GENERAL,
ERROR_TYPE_NACK, ERROR_TYPE_GENERIC,
ERROR_TYPE_UNKNOWN, ERROR_TYPE_INTEGRITY)public int getErrorCode()
ERROR_TYPE_NACK, the
error code returned is ERROR_CODE_UNKNOWN.
public java.lang.String getErrorText()
public boolean isSequenceMismatch()
public boolean isOffsetMismatch()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||