public class

ExceptionInterpreterUtil

extends Object
java.lang.Object
   ↳ com.atlassian.jira.util.ExceptionInterpreterUtil

Class Overview

This util will feed an exception through the exception interpreter chain of responsibility.

Summary

Public Constructors
ExceptionInterpreterUtil()
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ExceptionInterpreterUtil ()

Public Methods

public static void addInterpreter (ExceptionInterpreter val)

This method is used to register a new URL interpreter into the chain.

Is this used by anything anymore? Plugins maybe?

Parameters
val is the implementation of ExceptionInterpreter to add to the chain.

public 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.

Parameters
extendedSystemInfoUtils is the system information at the time of the exception
exceptionMessage is the exceptions message
Returns
  • is the message to be displayed for the given exception message, null if not understood