|
|
||||||||
| 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.SmppException
public class SmppException
This exception will be thrown by the SmppSmsService for SMPP specific exceptions.
SmppSmsService,
Serialized Form| Field Summary | |
|---|---|
static int |
ERROR_TYPE_INTEGRITY
Response integrity failure |
static int |
ERROR_TYPE_NACK
SMPP GENERIC NACK response |
static int |
ERROR_TYPE_UNKNOWN
Unknown response |
static int |
STATUS_CODE_UNKNOWN
Unknown command status |
| Method Summary | |
|---|---|
int |
getCommandStatus()
Returns the command status. |
java.lang.String |
getErrorText()
Returns the error text. |
int |
getErrorType()
Returns the type of 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_INTEGRITY
public static final int ERROR_TYPE_NACK
public static final int ERROR_TYPE_UNKNOWN
public static final int STATUS_CODE_UNKNOWN
| Method Detail |
|---|
public int getCommandStatus()
public int getErrorType()
public java.lang.String getErrorText()
public boolean isSequenceMismatch()
public boolean isOffsetMismatch()
public java.lang.String getMessage()
MessageException
getMessage in class MessageException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||