| java.lang.Object com.sun.jbi.management.message.MessageHelper
MessageHelper | public class MessageHelper (Code) | | Helper class to format Management XML messages for logging
|
extractMessageFromXML | public static String extractMessageFromXML(String xmlString, Level logLevel)(Code) | | This method is used to extract the message from a given
XML string
Parameters: the - XML string Parameters: logLevel - the logLevel, if the log level is fine or lower thestack trace will be printed the message in the XML |
getMsgString | public static String getMsgString(Exception ex)(Code) | | This method is used to extract a message in the
given exception. If the exception contains a XML string
then it is parsed to look for the real message.
Parameters: Exception - the message in the exception |
getMsgString | public static String getMsgString(Exception ex, Level logLevel)(Code) | | This method is used to extract a message in the
given exception. If the exception contains a XML string
then it is parsed to look for the real message.
Parameters: Exception - Parameters: logLevel - the logLevel, if the log level is fine or lower thestack trace will be printed the message in the exception |
getTaskStatusMessages | public static String getTaskStatusMessages(TaskResultDetailsElement taskResultDetailsElement) throws Exception(Code) | | This method is used to extract the framework task status messages from
framework task result details element
Parameters: taskResultDetailsElement - the formatted message |
|
|