public class ExceptionInterpreterUtil extends Object
Constructor and Description |
---|
ExceptionInterpreterUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addInterpreter(ExceptionInterpreter val)
This method is used to register a new URL interpreter into the chain.
|
static String |
execute(ExtendedSystemInfoUtils extendedSystemInfoUtils,
String exceptionMessage)
Will pass the exception message through the registered interpreters returing a
message string, which can be html if one of the interpreters can handle the exception message.
|
public static void addInterpreter(ExceptionInterpreter val)
val
- is the implementation of ExceptionInterpreter to add to the
chain.public static String execute(ExtendedSystemInfoUtils extendedSystemInfoUtils, String exceptionMessage)
extendedSystemInfoUtils
- is the system information at the time of the exceptionexceptionMessage
- is the exceptions messageCopyright © 2002-2015 Atlassian. All Rights Reserved.