ie.omk.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 ie.omk.smpp.message.tlv.InvalidSizeForValueException
All Implemented Interfaces:
Serializable

public class InvalidSizeForValueException
extends RuntimeException

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 258 2006-03-09 11:37:09Z 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 smppapi at Sourceforge. All Rights Reserved.