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

public class ExceptionMessage<T> extends Object implements 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 Details

    • ExceptionMessage

      public ExceptionMessage(String propertiesKey, String propertiesValue, String id)
      Constructor for creating an ExceptionMessage with specified key, value, and ID
      Parameters:
      propertiesKey - the key reference for a property in the resource bundle
      propertiesValue - the value reference for a property in the resource bundle
      id - the unique identifier in the database