ie.omk.smpp
Class BadCommandIDException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ie.omk.smpp.SMPPException
              extended by ie.omk.smpp.BadCommandIDException
All Implemented Interfaces:
Serializable

public class BadCommandIDException
extends SMPPException

BadCommandIDException

Version:
1.0
Author:
Oran Kelly
See Also:
Serialized Form

Constructor Summary
BadCommandIDException()
           
BadCommandIDException(int expected, int actual)
          Construct a new BadCommandIdException.
BadCommandIDException(String s)
          Construct a new BadCommandIdException with specified message.
BadCommandIDException(String msg, int id)
           
 
Method Summary
 int getActual()
          Get the actual Command id value received.
 int getExpected()
           
 
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

BadCommandIDException

public BadCommandIDException()

BadCommandIDException

public BadCommandIDException(String s)
Construct a new BadCommandIdException with specified message.


BadCommandIDException

public BadCommandIDException(String msg,
                             int id)

BadCommandIDException

public BadCommandIDException(int expected,
                             int actual)
Construct a new BadCommandIdException.

Parameters:
expected - The expected Command Id value.
actual - The actual Command Id value received.
Method Detail

getExpected

public int getExpected()
Returns:
the expected Command id value.

getActual

public int getActual()
Get the actual Command id value received.



Copyright © 2011 smppapi at Sourceforge. All Rights Reserved.