org.jdesktop.wonderland.common.messages
Class MessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jdesktop.wonderland.common.messages.MessageException
All Implemented Interfaces:
java.io.Serializable

public class MessageException
extends java.lang.RuntimeException

A runtime exception when there is a problem serializing or deserializing an message

Author:
jkaplan
See Also:
Serialized Form

Constructor Summary
MessageException()
          Creates a new instance of MessageException without detail message or cause.
MessageException(java.lang.String msg)
          Constructs an instance of MessageException with the specified detail message.
MessageException(java.lang.String msg, java.lang.Throwable cause)
          Constructs an instance of MessageException with the specified detail message and cause.
MessageException(java.lang.Throwable cause)
          Constructs an instance of MessageException with the 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

MessageException

public MessageException()
Creates a new instance of MessageException without detail message or cause.


MessageException

public MessageException(java.lang.String msg)
Constructs an instance of MessageException with the specified detail message.

Parameters:
msg - the detail message.

MessageException

public MessageException(java.lang.Throwable cause)
Constructs an instance of MessageException with the specified cause.

Parameters:
cause - the cause of this error.

MessageException

public MessageException(java.lang.String msg,
                        java.lang.Throwable cause)
Constructs an instance of MessageException with the specified detail message and cause.

Parameters:
msg - the detail message.
cause - the cause


Open Wonderland - http://openwonderland.org