org.jsmpp
Class PDUStringException

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

public class PDUStringException
extends PDUException

Thrown if there is an invalid constraint for the PDU String parameter.

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

Constructor Summary
PDUStringException(java.lang.String message, StringParameter parameter)
          Construct with specified message and parameter.
 
Method Summary
 int getErrorCode()
          Get the error code of the broken constaint.
 StringParameter getParameter()
          Get the constraint parameter.
 
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

PDUStringException

public PDUStringException(java.lang.String message,
                          StringParameter parameter)
Construct with specified message and parameter.

Parameters:
message - is the detail message.
parameter - is the constraint parameter.
Method Detail

getParameter

public StringParameter getParameter()
Get the constraint parameter.

Returns:
the constraint parameter.

getErrorCode

public int getErrorCode()
Get the error code of the broken constaint.

Returns:
the command status should be returned.