Version

UnknownCommandIdException

public class UnknownCommandIdException
Extends RecoverablePduException
This exception is thrown when a PDU with an unknown or unsupported command ID is received. It indicates that the SMPP implementation cannot recognize the incoming request or response and may need to drop or reject it. Being a RecoverablePduException, it allows the system to continue operating after handling the issue.

Constructor:

public UnknownCommandIdException(Pdu partialPdu, String msg)
    partialPdu: The partially processed PDU causing the exception.
    msg: A message describing the unknown command issue.
Creates an exception with a reference to the partially parsed PDU and a message explaining the error.

public UnknownCommandIdException(Pdu partialPdu, String msg, Throwable t)
    partialPdu: The incomplete or unrecognized PDU.
    msg: Descriptive message about the issue.
    t: Underlying exception that caused this error (e.g., parsing failure).
Creates an exception with the partial PDU, an error message, and a root cause.

Methods:

Methods inherited from class com.mobius.software.protocols.smpp.exceptions.RecoverablePduException

getPartialPdu, setPartialPdu

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!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com