TerminatingNullByteNotFoundException
public class TerminatingNullByteNotFoundException
Extends RecoverablePduException
This exception is thrown when a null-terminated string in a PDU does not contain the expected terminating null byte (0x00). This occurs during decoding of SMPP fields where null termination is required, such as service type, address fields, or date strings.
Constructor:
public TerminatingNullByteNotFoundException(String msg)
msg: Description of the error encountered while reading a null-terminated string.
Creates an exception instance with a custom message explaining the issue.
public TerminatingNullByteNotFoundException(String msg, Throwable t)
msg: Explanation of the decoding issue.
t: The original exception or error that triggered this one (optional).
Creates an exception instance with a message and the underlying 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!