com.jxml.qare.qhome
Class CommonErrorReply

java.lang.Object
  |
  +--com.jxml.qare.qhome.SDO
        |
        +--com.jxml.qare.qhome.MessageAgent
              |
              +--com.jxml.qare.qhome.CommonErrorReply
All Implemented Interfaces:
Item

public class CommonErrorReply
extends MessageAgent

This class handles all the errors generated at the time of reply.


Inner Class Summary
 class CommonErrorReply.CommonErrorTemplate
          This class provides the functionality for processing the templates
 
Field Summary
 String errorMessage
           
 
Fields inherited from class com.jxml.qare.qhome.MessageAgent
inbox, orginatingSession, sourceESDO
 
Constructor Summary
CommonErrorReply(String errorMessage)
           
 
Method Summary
 void eval(Map properties, List args, ClassLoader cl)
          Puts the template name into properties.
 String getAction()
          Returns the action defined by this message.
 QSchemaFactory getFactory()
          Returns the reply schema(predefined format of data).
 void process(DBSession.Row qSession, QAppPlugin qapp)
          This method is overidden by classes which use the process/reply logic.
 String toString()
           
 
Methods inherited from class com.jxml.qare.qhome.MessageAgent
lastSend, lastSend, send, send, send, send, send, send, send, signed, timeout
 
Methods inherited from class com.jxml.qare.qhome.SDO
createInboxMsg, createInboxMsg, exceptionTraceString, getFactoryClassName, getQDoc, getSchema, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

errorMessage

public String errorMessage
Constructor Detail

CommonErrorReply

public CommonErrorReply(String errorMessage)
Method Detail

getAction

public String getAction()
Returns the action defined by this message.
Overrides:
getAction in class SDO

toString

public String toString()
Overrides:
toString in class Object

getFactory

public QSchemaFactory getFactory()
Returns the reply schema(predefined format of data).
Overrides:
getFactory in class SDO

process

public void process(DBSession.Row qSession,
                    QAppPlugin qapp)
             throws Exception
Description copied from class: MessageAgent
This method is overidden by classes which use the process/reply logic.
Overrides:
process in class MessageAgent

eval

public void eval(Map properties,
                 List args,
                 ClassLoader cl)
          throws Exception
Puts the template name into properties.
Overrides:
eval in class SDO