Class QStatusMessage
java.lang.Object
com.kingsrook.qqq.backend.core.model.statusmessages.QStatusMessage
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QErrorMessage
,QWarningMessage
Abstract Base class for status messages (errors or warnings) that can be
attached to QRecords.
They look like exceptions, but they aren't throwable, and they are meant
to just be put in a record's error or warning list. Those lists were originally
just Strings, but we wanted to have some type information communicated with
them, e.g., for marking an error as caused by bad-data (e.g., from a user, e.g.,
for an HTTP 400) vs. a server-side error, etc.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QStatusMessage
Constructor
-
-
Method Details
-
getMessage
Getter for message -
toString
-