Package com.atlassian.jira.plugin.user
Class WebErrorMessageImpl
java.lang.Object
com.atlassian.jira.plugin.user.WebErrorMessageImpl
- All Implemented Interfaces:
WebErrorMessage
Basic WebErrorMessage Implementation.
- Since:
- 6.0
-
Constructor Summary
ConstructorsConstructorDescriptionWebErrorMessageImpl(String description, String snippet, URI furtherInformationURI) -
Method Summary
Modifier and TypeMethodDescriptionReturns a message containing the reason an error message has been generated.Returns a short form of the error message that getDescription would provide.getURI()Returns aURIthat can be used to direct users to pages with more information that can be tied to the snippet
-
Constructor Details
-
WebErrorMessageImpl
-
-
Method Details
-
getDescription
Description copied from interface:WebErrorMessageReturns a message containing the reason an error message has been generated.- Specified by:
getDescriptionin interfaceWebErrorMessage- Returns:
- an error message; must not be
null
-
getSnippet
Description copied from interface:WebErrorMessageReturns a short form of the error message that getDescription would provide.- Specified by:
getSnippetin interfaceWebErrorMessage- Returns:
- short form representation of getDescription; must not be
null
-
getURI
Description copied from interface:WebErrorMessageReturns aURIthat can be used to direct users to pages with more information that can be tied to the snippet- Specified by:
getURIin interfaceWebErrorMessage- Returns:
- a uri, or
nullif none is available
-