java.lang.Object
com.inductiveautomation.ignition.client.util.gui.errors.DisplayableError

public class DisplayableError extends Object
A class representing an error or exception that occurred. It has several different possible pieces of display information, such as a title and message in addition to an actual exception.
  • Constructor Details

    • DisplayableError

      public DisplayableError(String message, String title)
      Creates an error based solely on a text message and title.
    • DisplayableError

      public DisplayableError(String message, String title, Throwable exception)
      Creates an error with a message, title, and backing exception. If message is null, the message of the exception will be used.
  • Method Details

    • getException

      public Throwable getException()
    • getMessage

      public String getMessage()
      Returns the provided message, or the message of the exception if a friendly one hasn't been provided.
    • getTitle

      public String getTitle()