org.openeai.jms.consumer.commands
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openeai.OpenEaiException
              extended by org.openeai.jms.consumer.commands.CommandException
All Implemented Interfaces:
java.io.Serializable

public class CommandException
extends OpenEaiException

This Exception may be thrown by Commands when/if errors occur during the processing of the 'execute' method. Generally, this exception should only ever be thrown if the Command has trouble turning the message body of the JMS Message passed to the execute method into an XML Document (org.jdom.Document). Any other error encountered by the command should be handled accordingly by either publishing a Sync-Error-Sync message or returning a Reply document with errors indicating the nature of the problem.

Version:
3.0 - 28 January 2003
Author:
Tod Jackson (tod@openeai.org), Steve Wheat (steve@openeai.org)
See Also:
Serialized Form

Constructor Summary
CommandException()
          Constructor
CommandException(java.lang.String msg)
           
CommandException(java.lang.String msg, java.lang.Throwable rootCause)
           
CommandException(java.lang.Throwable rootCause)
           
 
Method Summary
 
Methods inherited from class org.openeai.OpenEaiException
printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandException

public CommandException()
Constructor


CommandException

public CommandException(java.lang.String msg)

CommandException

public CommandException(java.lang.String msg,
                        java.lang.Throwable rootCause)

CommandException

public CommandException(java.lang.Throwable rootCause)


Copyright © 2002,2003 OpenEAI Software Foundation