org.jsmpp
Class InvalidNumberOfDestinationsException

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

public class InvalidNumberOfDestinationsException
extends PDUException

This exception should be thrown if there is an invalid number of destination address used by submit_multi.

Author:
uudashr
See Also:
Serialized Form

Constructor Summary
InvalidNumberOfDestinationsException(java.lang.String message, int actualLength)
          Default constructor.
 
Method Summary
 int getActualLength()
           
 
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

InvalidNumberOfDestinationsException

public InvalidNumberOfDestinationsException(java.lang.String message,
                                            int actualLength)
Default constructor.

Parameters:
message - is the message.
actualLength - the actual length.
Method Detail

getActualLength

public int getActualLength()