public interface ExceptionHandler
The handleException(ProcessingLibraryException) method is invoked when exceptions are raised in the following scenarios when:
SqsManager.pollQueue().SqsManager.parseMessage(List)SqsManager.deleteMessageFromQueue(Message, ProgressStatus).S3Manager.downloadLog(CloudTrailLog, CloudTrailSource).EventReader.processSource(CloudTrailSource).
A ProcessingLibraryException contains execution context in the held ProgressStatus object,
which can be obtained by calling ProcessingLibraryException.getStatus().
| Modifier and Type | Method and Description |
|---|---|
void |
handleException(ProcessingLibraryException exception)
A callback method that handles exceptions that occurred while processing AWS CloudTrail log files.
|
void handleException(ProcessingLibraryException exception)
exception - A ProcessingLibraryException.