org.jsmpp.extra
Class NegativeResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jsmpp.extra.NegativeResponseException
All Implemented Interfaces:
java.io.Serializable

public class NegativeResponseException
extends java.lang.Exception

This exception is thrown if we receive an negative response.

Since:
1.0
Version:
1.0
Author:
uudashr
See Also:
Serialized Form

Constructor Summary
NegativeResponseException(int commandStatus)
          Construct with specified command_status.
 
Method Summary
 int getCommandStatus()
          Get the command_status.
 
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

NegativeResponseException

public NegativeResponseException(int commandStatus)
Construct with specified command_status.

Parameters:
commandStatus - is the command_status.
Method Detail

getCommandStatus

public int getCommandStatus()
Get the command_status.

Returns:
is the command_status.