org.jsmpp
Class PDUException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jsmpp.PDUException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidCommandLengthException, InvalidNumberOfDestinationsException, PDUStringException

public class PDUException
extends java.lang.Exception

This exception is thrown when there is a failure corresponds to PDU processing.

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

Constructor Summary
PDUException()
          Default constructor.
PDUException(java.lang.String message)
          Construct with specified message.
PDUException(java.lang.String message, java.lang.Throwable cause)
          Construct with specified message and cause.
PDUException(java.lang.Throwable cause)
          Construct with specified cause.
 
Method Summary
 
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

PDUException

public PDUException()
Default constructor.


PDUException

public PDUException(java.lang.String message,
                    java.lang.Throwable cause)
Construct with specified message and cause.

Parameters:
message - is the detail message.
cause - is the parent cause.

PDUException

public PDUException(java.lang.String message)
Construct with specified message.

Parameters:
message - is the detail message.

PDUException

public PDUException(java.lang.Throwable cause)
Construct with specified cause.

Parameters:
cause - is the parent cause.