org.mobicents.protocols.smpp.message.tlv
Class TagDefinedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mobicents.protocols.smpp.SMPPRuntimeException
org.mobicents.protocols.smpp.message.tlv.TagDefinedException
- All Implemented Interfaces:
- Serializable
public class TagDefinedException
- extends SMPPRuntimeException
Tag has already been defined. This exception is thrown by
Tag.defineTag(int, org.mobicents.protocols.smpp.message.param.ParamDescriptor, int)if an attempt is made to redefine a tag which already
has a definition.
- Version:
- $Id: TagDefinedException.java 452 2009-01-15 16:56:36Z orank $
- See Also:
- Serialized Form
|
Method Summary |
int |
getTagValue()
Get the tag for which an attempt as made to redefine. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TagDefinedException
public TagDefinedException(int tagValue)
- Create a new TagDefinedException.
- Parameters:
tagValue - The tag for which an attempt as made to redefine.
TagDefinedException
public TagDefinedException(int tagValue,
String msg)
- Create a new TagDefinedException.
- Parameters:
tagValue - The tag for which an attempt as made to redefine.msg - The exception message.
getTagValue
public int getTagValue()
- Get the tag for which an attempt as made to redefine.
- Returns:
- The tag for which an attempt as made to redefine.
Copyright © 2011 Mobicents. All Rights Reserved.