Class XMLLogger.FileMessages

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<AuditEvent> errors
      The file error events.
      private java.util.List<java.lang.Throwable> exceptions
      The file exceptions.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FileMessages()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addError​(AuditEvent event)
      Adds the given error event to the messages.
      void addException​(java.lang.Throwable throwable)
      Adds the given exception to the messages.
      java.util.List<AuditEvent> getErrors()
      Returns the file error events.
      java.util.List<java.lang.Throwable> getExceptions()
      Returns the file exceptions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • errors

        private final java.util.List<AuditEvent> errors
        The file error events.
      • exceptions

        private final java.util.List<java.lang.Throwable> exceptions
        The file exceptions.
    • Method Detail

      • getErrors

        public java.util.List<AuditEventgetErrors()
        Returns the file error events.
        Returns:
        the file error events.
      • addError

        public void addError​(AuditEvent event)
        Adds the given error event to the messages.
        Parameters:
        event - the error event.
      • getExceptions

        public java.util.List<java.lang.Throwable> getExceptions()
        Returns the file exceptions.
        Returns:
        the file exceptions.
      • addException

        public void addException​(java.lang.Throwable throwable)
        Adds the given exception to the messages.
        Parameters:
        throwable - the file exception