private static class XMLLogger.FileMessages extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<AuditEvent> |
errors
The file error events.
|
private java.util.List<java.lang.Throwable> |
exceptions
The file exceptions.
|
| Modifier | Constructor and Description |
|---|---|
private |
FileMessages() |
| Modifier and Type | Method and 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.
|
private final java.util.List<AuditEvent> errors
private final java.util.List<java.lang.Throwable> exceptions
private FileMessages()
public java.util.List<AuditEvent> getErrors()
public void addError(AuditEvent event)
event - the error event.public java.util.List<java.lang.Throwable> getExceptions()
public void addException(java.lang.Throwable throwable)
throwable - the file exceptionCopyright © 2001-2022. All Rights Reserved.