org.kitesdk.morphline.api
Interface ExceptionHandler
- All Known Implementing Classes:
- FaultTolerance
public interface ExceptionHandler
Morphline-wide default handler that commands can choose to use to handle exceptions.
Mission critical, large-scale online production systems need to make progress without downtime
despite some issues. Thus, the recommendation is that implementations of this handler rethrow
exceptions in test mode, but try to log and continue in production mode, if that's considered
appropriate and feasible.
Method Summary |
void |
handleException(Throwable t,
Record record)
Handle the given exception resulting from the given input record (the record can be null) |
handleException
void handleException(Throwable t,
Record record)
- Handle the given exception resulting from the given input record (the record can be null)
Copyright © 2013–2014. All rights reserved.