com.objectxp.msg
Class MessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.objectxp.msg.MessageException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Cimd2Exception, GsmException, MMSException, OTAException, ProtocolException, SmppException, TimeoutException, TransportException, UcpException

public class MessageException
extends java.lang.Exception

This exception will be thrown by the Messaging package

See Also:
Serialized Form

Constructor Summary
MessageException(java.lang.String message)
           
MessageException(java.lang.String message, java.lang.Exception exception)
           
 
Method Summary
 java.lang.Exception getException()
          Returns the exception that caused this MessageException
 java.lang.String getMessage()
          Get the message for this Exception
 void printStackTrace()
          Prints this MessageException and its backtrace to the standard error stream.
 void printStackTrace(java.io.PrintStream s)
          Prints this MessageException and its backtrace to the specified print stream.
 void printStackTrace(java.io.PrintWriter s)
          Prints this MessageException and its backtrace to the specified print writer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageException

public MessageException(java.lang.String message)

MessageException

public MessageException(java.lang.String message,
                        java.lang.Exception exception)
Method Detail

getException

public java.lang.Exception getException()
Returns the exception that caused this MessageException


getMessage

public java.lang.String getMessage()
Get the message for this Exception

Overrides:
getMessage in class java.lang.Throwable

printStackTrace

public void printStackTrace()
Prints this MessageException and its backtrace to the standard error stream.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream s)
Prints this MessageException and its backtrace to the specified print stream.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - PrintStream to use for output

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
Prints this MessageException and its backtrace to the specified print writer.

Overrides:
printStackTrace in class java.lang.Throwable
Parameters:
s - PrintWriter to use for output


object XP, Inc. © 2000-2008. All rights reserved object XP