TlvConvertException
public class TlvConvertException
Extends RecoverablePduException
This exception is thrown when an error occurs while converting or interpreting TLV fields in SMPP messages. TLVs are optional parameters in PDUs, and this exception signals formatting or type mismatches during encoding or decoding.
Constructor:
public TlvConvertException(String msg)
msg: A description of the error encountered during TLV processing.
Creates a TLV conversion exception with a custom error message.
public TlvConvertException(String typeName, String extraMsg)
typeName: Name of the TLV type or tag involved in the error.
extraMsg: Additional context or explanation for the failure.
Creates a TLV conversion exception with the type name of the TLV and additional message details.
public TlvConvertException(String msg, Throwable t)
msg: Description of the TLV error.
t: Underlying cause of the error, such as a parsing or type casting issue.
Creates a TLV conversion exception with a message and a linked 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!