Class WebErrorMessageImpl

java.lang.Object
com.atlassian.jira.plugin.user.WebErrorMessageImpl
All Implemented Interfaces:
WebErrorMessage

@PublicApi public class WebErrorMessageImpl extends Object implements WebErrorMessage
Basic WebErrorMessage Implementation.
Since:
6.0
  • Constructor Details

    • WebErrorMessageImpl

      public WebErrorMessageImpl(String description, String snippet, URI furtherInformationURI)
  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: WebErrorMessage
      Returns a message containing the reason an error message has been generated.
      Specified by:
      getDescription in interface WebErrorMessage
      Returns:
      an error message; must not be null
    • getSnippet

      public String getSnippet()
      Description copied from interface: WebErrorMessage
      Returns a short form of the error message that getDescription would provide.
      Specified by:
      getSnippet in interface WebErrorMessage
      Returns:
      short form representation of getDescription; must not be null
    • getURI

      public URI getURI()
      Description copied from interface: WebErrorMessage
      Returns a URI that can be used to direct users to pages with more information that can be tied to the snippet
      Specified by:
      getURI in interface WebErrorMessage
      Returns:
      a uri, or null if none is available