com.davesag.smpp.command
Class CommandFormatException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.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.
 
Method Summary
 ie.omk.smpp.Address getIncomingId()
           
 ie.omk.smpp.Address getSenderId()
           
 
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

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.
Method Detail

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.