Package com.puppycrawl.tools.checkstyle
Class XMLLogger.FileMessages
java.lang.Object
com.puppycrawl.tools.checkstyle.XMLLogger.FileMessages
- Enclosing class:
- XMLLogger
The registered file messages.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<AuditEvent>
The file error events.The file exceptions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addError
(AuditEvent event) Adds the given error event to the messages.void
addException
(Throwable throwable) Adds the given exception to the messages.Returns the file error events.Returns the file exceptions.
-
Field Details
-
errors
The file error events. -
exceptions
The file exceptions.
-
-
Constructor Details
-
FileMessages
private FileMessages()
-
-
Method Details
-
getErrors
Returns the file error events.- Returns:
- the file error events.
-
addError
Adds the given error event to the messages.- Parameters:
event
- the error event.
-
getExceptions
Returns the file exceptions.- Returns:
- the file exceptions.
-
addException
Adds the given exception to the messages.- Parameters:
throwable
- the file exception
-