Adds support for optional exception handler in Retrier.java.  Also reduces the proliferation of false alarms log messages/stack traces in DuplicationTaskProcessor.