|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.protocol.Message net.sf.xbus.base.notifyerror.NotifyErrorMessage
public class NotifyErrorMessage
Constructor Summary | |
---|---|
NotifyErrorMessage(java.lang.String function,
XBUSSystem source,
java.lang.String id)
This constructor initializes the new NotifyErrorMessage
with the given parameters. |
|
NotifyErrorMessage(XBUSSystem source)
Creates the NotifyErrorMessage with the given source. |
Method Summary | |
---|---|
java.util.Hashtable |
getAdditionalInfo()
Returns the additionalInfo. |
java.lang.String |
getClassName()
Returns the className. |
java.lang.String |
getErrorMessage()
Returns the errorMessage. |
java.lang.Object |
getErrorRequest()
Returns the errorRequest. |
java.lang.String |
getRequestText(XBUSSystem system)
Gets the text from an incomimg message. |
java.lang.String |
getResponseText()
Gets the text of the outgoing message. |
void |
setData(java.lang.String className,
java.lang.String errorMessage,
java.lang.Object errorRequest,
java.util.Hashtable additionalInfo)
|
void |
setRequestText(java.lang.String text,
XBUSSystem source)
Sets the text of the incoming message. |
void |
setResponseText(java.lang.String text,
XBUSSystem destination)
Sets the text of the outgoing message. |
Methods inherited from class net.sf.xbus.protocol.Message |
---|
getErrorcode, getErrortext, getFunction, getId, getRequestTimestamp, getResponseTimestamp, getReturncode, getShortname, getSource, setErrorcode, setErrortext, setFunction, setId, setResponseTimestamp, setReturncode, setShortname |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotifyErrorMessage(XBUSSystem source)
NotifyErrorMessage
with the given source.
public NotifyErrorMessage(java.lang.String function, XBUSSystem source, java.lang.String id)
NotifyErrorMessage
with the given parameters. It is used when constructing a new
NotifyErrorMessage
by converting it from another
Message
.
Method Detail |
---|
public void setData(java.lang.String className, java.lang.String errorMessage, java.lang.Object errorRequest, java.util.Hashtable additionalInfo) throws XException
XException
public void setRequestText(java.lang.String text, XBUSSystem source)
TextMessage
setRequestText
in interface TextMessage
text
- the content of the requestsource
- system where the request is coming frompublic void setResponseText(java.lang.String text, XBUSSystem destination)
TextMessage
setResponseText
in interface TextMessage
text
- the content of the responsedestination
- system where the response is coming frompublic java.lang.String getRequestText(XBUSSystem system)
TextMessage
getRequestText
in interface TextMessage
system
- reference to the system for which the message is meant
public java.lang.String getResponseText()
TextMessage
getResponseText
in interface TextMessage
public java.util.Hashtable getAdditionalInfo()
public java.lang.String getErrorMessage()
public java.lang.Object getErrorRequest()
public java.lang.String getClassName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |