Class XMLLogger.FileMessages

java.lang.Object
com.puppycrawl.tools.checkstyle.XMLLogger.FileMessages
Enclosing class:
XMLLogger

private static class XMLLogger.FileMessages extends Object
The registered file messages.
  • Field Details

    • errors

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

      private final List<Throwable> exceptions
      The file exceptions.
  • Constructor Details

    • FileMessages

      private FileMessages()
  • Method Details

    • getErrors

      public List<AuditEvent> getErrors()
      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 List<Throwable> getExceptions()
      Returns the file exceptions.
      Returns:
      the file exceptions.
    • addException

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