|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object core.Message core.messages.ErrorMessage
Message used for reporting errors.
for a list of possible errors handled by this MessageType.
Constructor Summary | |
ErrorMessage(java.lang.String source,
java.lang.String destination)
Creates a new instance of ErrorMessage. |
|
ErrorMessage(java.lang.String source,
java.lang.String destination,
ErrorCondition condition)
Creates a new instance of ErrorMessage with a specific ErrorCondition. |
|
ErrorMessage(java.lang.String source,
java.lang.String destination,
ErrorCondition condition,
long id)
Creates a new instance of ErrorMessage with a specific ErrorCondition and id. |
Method Summary | |
ErrorCondition |
getCondition()
Returns the ErrorCondition associated with this ErrorMessage. |
byte[] |
toXML()
Converts the contents of this message to XML |
Methods inherited from class core.Message |
getDestination, getId, getMessageType, getSource, restamp |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ErrorMessage(java.lang.String source, java.lang.String destination)
source
- the source's virtual address.destination
- the destination's virtual address.public ErrorMessage(java.lang.String source, java.lang.String destination, ErrorCondition condition)
source
- the source's virtual address.destination
- the destination's virtual address.condition
- the ErrorCondition to report.public ErrorMessage(java.lang.String source, java.lang.String destination, ErrorCondition condition, long id)
source
- the source's virtual address.destination
- the destination's virtual address.condition
- the ErrorCondition to report.id
- the id of the message.Method Detail |
public byte[] toXML()
toXML
in class Message
public ErrorCondition getCondition()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |