org.mobicents.protocols.smpp.message.tlv
Class InvalidSizeForValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.mobicents.protocols.smpp.SMPPRuntimeException
                  extended by org.mobicents.protocols.smpp.message.tlv.InvalidSizeForValueException
All Implemented Interfaces:
Serializable

public class InvalidSizeForValueException
extends SMPPRuntimeException

An attempt was made to encode or decode a value with a length outside of the bounds defined by its Tag. This can happen, for instance, when an attempt is made to encode a string value that is longer than the maximum length defined by the tag for that value.

Version:
$Id: InvalidSizeForValueException.java 452 2009-01-15 16:56:36Z orank $
See Also:
Serialized Form

Constructor Summary
InvalidSizeForValueException()
          Create a new InvalidSizeForValueException.
InvalidSizeForValueException(String msg)
          Create a new InvalidSizeForValueException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidSizeForValueException

public InvalidSizeForValueException()
Create a new InvalidSizeForValueException.


InvalidSizeForValueException

public InvalidSizeForValueException(String msg)
Create a new InvalidSizeForValueException.

Parameters:
msg - The exception message.


Copyright © 2011 Mobicents. All Rights Reserved.