c408h008.common.exceptions
Class OEException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byc408h008.common.exceptions.OEException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BufferOutOfRangeException, ClientNameInUseException, ConflictException, InvalidChannelException, InvalidClientException, NameInUseException

public class OEException
extends java.lang.Exception

A generic Omni Editor exception.

See Also:
Serialized Form

Constructor Summary
OEException()
          Constructs a new exception.
 
Method Summary
 OEMessage[] getMessages()
          Gets the commands being returned to the client.
 void setMessages(OEMessage[] commands)
          Sets the commands being returned to the client.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OEException

public OEException()
Constructs a new exception.

Method Detail

setMessages

public void setMessages(OEMessage[] commands)
Sets the commands being returned to the client.

Parameters:
commands - Array of command messages.

getMessages

public OEMessage[] getMessages()
Gets the commands being returned to the client.

Returns:
Array of command messages.