public class SmppException extends MessageException
SmppSmsService
,
Serialized FormModifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
getException, printStackTrace, printStackTrace, printStackTrace
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
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
object XP, Inc. © 2000-2013. All rights reserved object XP