public class MessageHelper extends Object
| Constructor and Description |
|---|
MessageHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
extractMessageFromXML(String xmlString,
Level logLevel)
This method is used to extract the message from a given
XML string
|
static String |
getMsgString(Exception ex)
This method is used to extract a message in the
given exception.
|
static String |
getMsgString(Exception ex,
Level logLevel)
This method is used to extract a message in the
given exception.
|
static String |
getTaskStatusMessages(TaskResultDetailsElement taskResultDetailsElement)
This method is used to extract the framework task status messages from
framework task result details element
|
public static String getMsgString(Exception ex)
Exception - public static String getMsgString(Exception ex, Level logLevel)
Exception - logLevel - the logLevel, if the log level is fine or lower the
stack trace will be printedpublic static String extractMessageFromXML(String xmlString, Level logLevel)
the - XML stringlogLevel - the logLevel, if the log level is fine or lower the
stack trace will be printedpublic static String getTaskStatusMessages(TaskResultDetailsElement taskResultDetailsElement) throws Exception
taskResultDetailsElement - ExceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.