com.davesag.smpp.command
Class CommandFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.davesag.smpp.command.CommandFormatException
- All Implemented Interfaces:
- Serializable
- public class CommandFormatException
- extends Exception
An CommandFormatException should be thrown when
a CommandFactory tries to parse a command string that can not be mapped
to a known command, or whose params are not valid.
- See Also:
- Serialized Form
|
Constructor Summary |
CommandFormatException(ie.omk.smpp.Address incomingId,
ie.omk.smpp.Address senderId,
String command)
Creates a new CommandFormatException. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CommandFormatException
public CommandFormatException(ie.omk.smpp.Address incomingId,
ie.omk.smpp.Address senderId,
String command)
- Creates a new
CommandFormatException.
- Parameters:
command - The command string that failed.incomingId - The address the failed command was sent to.senderId - The address the failed command was sent from.
getIncomingId
public ie.omk.smpp.Address getIncomingId()
getSenderId
public ie.omk.smpp.Address getSenderId()
SMPP Commander API version 20 Jan 2005. (C) 2004 Dave Sag.