Class PrintNotifications


  • public class PrintNotifications
    extends Notifications
    A notification implementation that prints notifications on System.err.
    • Constructor Detail

      • PrintNotifications

        public PrintNotifications()
    • Method Detail

      • notify

        public void notify​(String message,
                           NotificationType eventType,
                           Throwable e)
        Reacts to a notification by printing the notification to System.err.
        Specified by:
        notify in class Notifications
        Parameters:
        message - The error message to print.
        e - The exception to print, if not null.
        eventType - The type of event