Class DisplayableError
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.errors.DisplayableError
-
public class DisplayableError extends java.lang.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 Summary
Constructors Constructor Description DisplayableError(java.lang.String message, java.lang.String title)
Creates an error based solely on a text message and title.DisplayableError(java.lang.String message, java.lang.String title, java.lang.Throwable exception)
Creates an error with a message, title, and backing exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getException()
java.lang.String
getMessage()
Returns the provided message, or the message of the exception if a friendly one hasn't been provided.java.lang.String
getTitle()
-
-
-
Constructor Detail
-
DisplayableError
public DisplayableError(java.lang.String message, java.lang.String title)
Creates an error based solely on a text message and title.
-
DisplayableError
public DisplayableError(java.lang.String message, java.lang.String title, java.lang.Throwable exception)
Creates an error with a message, title, and backing exception. If message is null, the message of the exception will be used.
-
-