public class ErrorContext extends Object
| Constructor and Description | 
|---|
ErrorContext(String eventProcessor,
            Exception error,
            List<? extends EventMessage<?>> failedEvents)  | 
| Modifier and Type | Method and Description | 
|---|---|
Exception | 
error()
Returns the error that was raised in the processor 
 | 
String | 
eventProcessor()
Returns the name of the Event Processor where the error occurred. 
 | 
List<? extends EventMessage<?>> | 
failedEvents()
The events part of the batch that failed. 
 | 
public ErrorContext(String eventProcessor, Exception error, List<? extends EventMessage<?>> failedEvents)
eventProcessor - The name of the event processor that failed to process the given eventserror - The error that was raised during processingfailedEvents - The list of events that triggered the errorpublic String eventProcessor()
public Exception error()
public List<? extends EventMessage<?>> failedEvents()
Copyright © 2010–2018. All rights reserved.