|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmlBlaster.util.error.MsgErrorInfo
Encapsulates all necessary information to allow error handling of a lost message.
Instances of this class are immutable.
| Constructor Summary | |
MsgErrorInfo(Global glob,
MsgQueueEntry[] msgQueueEntries,
DispatchManager dispatchManager,
java.lang.Throwable throwable)
Creates an error info instance for an array of message queue entries |
|
MsgErrorInfo(Global glob,
MsgQueueEntry msgQueueEntry,
DispatchManager dispatchManager,
java.lang.Throwable throwable)
Creates an error info instance with errorCode="internal.unknown" |
|
| Method Summary | |
DispatchManager |
getDispatchManager()
Access the DispatchManager which holds the queue. |
MsgQueueEntry[] |
getMsgQueueEntries()
Access the message entry object to be handled |
I_Queue |
getQueue()
Access the queue where the entries are inside. |
XmlBlasterException |
getXmlBlasterException()
Access the exception object describing the problem |
java.lang.String |
toString()
|
java.lang.String |
toXml()
Dump state of this object into XML. |
java.lang.String |
toXml(java.lang.String extraOffset)
Dump state of this object into XML. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MsgErrorInfo(Global glob,
MsgQueueEntry msgQueueEntry,
DispatchManager dispatchManager,
java.lang.Throwable throwable)
dispatchManager - The dispatchManager/queue where the entry is inside, null if the entry is not in a queuethrowable - Creates an error info instance with errorCode="internal.unknown"
public MsgErrorInfo(Global glob,
MsgQueueEntry[] msgQueueEntries,
DispatchManager dispatchManager,
java.lang.Throwable throwable)
dispatchManager - The dispatchManager/queue where the entry is inside, null if the entry is not in a queuethrowable - Creates an error info instance with errorCode="internal.unknown" | Method Detail |
public MsgQueueEntry[] getMsgQueueEntries()
getMsgQueueEntries in interface I_MsgErrorInfopublic I_Queue getQueue()
getQueue in interface I_MsgErrorInfopublic DispatchManager getDispatchManager()
I_MsgErrorInfo
getDispatchManager in interface I_MsgErrorInfopublic XmlBlasterException getXmlBlasterException()
getXmlBlasterException in interface I_MsgErrorInfopublic java.lang.String toString()
public final java.lang.String toXml()
toXml in interface I_MsgErrorInfopublic final java.lang.String toXml(java.lang.String extraOffset)
toXml in interface I_MsgErrorInfoextraOffset - indenting of tags
|
xmlBlaster 1.6.2 client API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||