org.openeai.jms.consumer.commands
Class CommandException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.openeai.jms.consumer.commands.CommandException
All Implemented Interfaces:
java.io.Serializable

public class CommandException
extends java.lang.Exception

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 beta2 - 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)
           
 
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

CommandException

public CommandException()
Constructor


CommandException

public CommandException(java.lang.String msg)


Copyright © 2002, OpenEAI Software Foundation