Record Class DisplayableError
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.client.util.gui.errors.DisplayableError
- Record Components:
message- the provided message, the message of the exception, or the exception's simple class name.
-
Constructor Summary
ConstructorsConstructorDescriptionDisplayableError(String message, String title) Creates an error based solely on a text message and title.DisplayableError(String message, String title, Throwable exception) Creates an error with a message, title, and backing exception. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexceptionrecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DisplayableError
-
DisplayableError
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
message
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
exception
Returns the value of theexceptionrecord component.- Returns:
- the value of the
exceptionrecord component
-