com.caucho.jms.queue
Class MessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.caucho.jms.queue.MessageException
All Implemented Interfaces:
java.io.Serializable

public class MessageException
extends java.lang.RuntimeException

A message exception.

See Also:
Serialized Form

Constructor Summary
MessageException()
          Null message exception
MessageException(java.lang.String msg)
          Create a basic message exception
MessageException(java.lang.String msg, java.lang.Throwable rootCause)
          Create a MessageException wrapping a root exception.
MessageException(java.lang.Throwable rootCause)
          Create a MessageException wrapping a root exception.
 
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

MessageException

public MessageException()
Null message exception


MessageException

public MessageException(java.lang.String msg)
Create a basic message exception

Parameters:
msg - the exception message.

MessageException

public MessageException(java.lang.Throwable rootCause)
Create a MessageException wrapping a root exception.

Parameters:
rootCause - the underlying wrapped exception.

MessageException

public MessageException(java.lang.String msg,
                        java.lang.Throwable rootCause)
Create a MessageException wrapping a root exception.

Parameters:
rootCause - the underlying wrapped exception.