|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.ExceptionInterpreterUtil
public class ExceptionInterpreterUtil
This util will feed an exception through the exception interpreter chain of responsibility.
Constructor Summary | |
---|---|
ExceptionInterpreterUtil()
|
Method Summary | |
---|---|
static void |
addInterpreter(ExceptionInterpreter val)
This method is used to register a new URL interpreter into the chain. |
static java.lang.String |
execute(ExtendedSystemInfoUtils extendedSystemInfoUtils,
java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionInterpreterUtil()
Method Detail |
---|
public static void addInterpreter(ExceptionInterpreter val)
val
- is the implementation of ExceptionInterpreter to add to the
chain.public static java.lang.String execute(ExtendedSystemInfoUtils extendedSystemInfoUtils, java.lang.String exceptionMessage)
extendedSystemInfoUtils
- is the system information at the time of the exceptionexceptionMessage
- is the exceptions message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |