SwallowedExceptionListener

Pools that unavoidably swallow exceptions may be configured with an instance of this listener so the user may receive notification of when this happens. The listener should not throw an exception when called but pools calling listeners should protect themselves against exceptions anyway.

interface SwallowedExceptionListener {}

Members

Functions

onSwallowException
void onSwallowException(Exception e)

This method is called every time the implementation unavoidably swallows an exception.

Meta