com.wm.app.tn.err
Class EXMLExceptionParser

java.lang.Object
  extended by com.wm.app.tn.err.EXMLExceptionParser

public class EXMLExceptionParser
extends java.lang.Object


Field Summary
static int EXCEPTION_ACTION
          index of the suggested action in the array returned by processMessage
static int EXCEPTION_CLASS
          index of the exception class in the array returned by processMessage
static int EXCEPTION_CODE
          index of the message code in the array returned by processMessage
static int EXCEPTION_INFO
          index of the exception information in the array returned by processMessage
static int EXCEPTION_LEVEL
          index of the message level in the array returned by processMessage
static int EXCEPTION_MSG
          index of the exception message in the array returned by processMessage
static int EXCEPTION_STACK
          index of the exception stack trace in the array returned by processMessage
 
Constructor Summary
EXMLExceptionParser()
           
 
Method Summary
static java.lang.String[] processMessage(java.lang.String msg)
          Process an XML-formatted exception message, which was probably produced by an EXMLException.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_INFO

public static final int EXCEPTION_INFO
index of the exception information in the array returned by processMessage

See Also:
Constant Field Values

EXCEPTION_CLASS

public static final int EXCEPTION_CLASS
index of the exception class in the array returned by processMessage

See Also:
Constant Field Values

EXCEPTION_MSG

public static final int EXCEPTION_MSG
index of the exception message in the array returned by processMessage

See Also:
Constant Field Values

EXCEPTION_STACK

public static final int EXCEPTION_STACK
index of the exception stack trace in the array returned by processMessage

See Also:
Constant Field Values

EXCEPTION_CODE

public static final int EXCEPTION_CODE
index of the message code in the array returned by processMessage

See Also:
Constant Field Values

EXCEPTION_ACTION

public static final int EXCEPTION_ACTION
index of the suggested action in the array returned by processMessage

See Also:
Constant Field Values

EXCEPTION_LEVEL

public static final int EXCEPTION_LEVEL
index of the message level in the array returned by processMessage

See Also:
Constant Field Values
Constructor Detail

EXMLExceptionParser

public EXMLExceptionParser()
Method Detail

processMessage

public static java.lang.String[] processMessage(java.lang.String msg)
Process an XML-formatted exception message, which was probably produced by an EXMLException.

Parameters:
msg - the message of the exception
Returns:
the data in that message, as { info, javaclass, message, stack }