SmppProcessingException
public class SmppProcessingException
Extends java.lang.Exception
Represents an exception that occurs during SMPP message processing. This is thrown when the server or system detects a protocol-specific issue and needs to respond with a particular MessageStatus error code.
Constructor:
public SmppProcessingException(MessageStatus errorCode)
errorCode: The SMPP MessageStatus representing the error condition (e.g., invalid PDU, rejected request).
Creates an exception using the given SMPP protocol error code.
public SmppProcessingException(MessageStatus errorCode, String msg)
errorCode: The SMPP error code.
msg: Human-readable explanation of the error.
Creates an exception with a specific error code and a descriptive message.
Methods:
public MessageStatus getErrorCode() | Returns the SMPP error code (MessageStatus) associated with this exception. |
Methods inherited from class java.lang.Throwable |
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | |
Methods inherited from class java.lang.Object |
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Start innovating with Mobius
What's next? Let's talk!