Class ExceptionMessage<T>
java.lang.Object
io.github.astrapi69.design.pattern.observer.exception.ExceptionMessage<T>
- Type Parameters:
T
- the generic type of the additional data
- All Implemented Interfaces:
Serializable
The class
ExceptionMessage
represents a message object used in exception handling It
encapsulates information such as a properties key and value, an ID, and additional data that may
be related to the exception- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionMessage
(String propertiesKey, String propertiesValue, String id) Constructor for creating anExceptionMessage
with specified key, value, and ID -
Method Summary
-
Constructor Details
-
ExceptionMessage
Constructor for creating anExceptionMessage
with specified key, value, and ID- Parameters:
propertiesKey
- the key reference for a property in the resource bundlepropertiesValue
- the value reference for a property in the resource bundleid
- the unique identifier in the database
-