pushExceptionManager

fun pushExceptionManager(exceptionManager: ExceptionManager?)

Calling pushExceptionManager pushed a new exception manager on the stack. If an exception manager is already active in the current thread, the new exception manager will shadow the old one, i.e. that the registered handlers of the new exception manager will be applied before the handlers of the old one. Only, if an exception is not handled, the exception handlers of the old exception manager will be applied.

Note: Be sure to call popExceptionManager correctly to establish the shadowed exception manager again.

Parameters

exceptionManager

the exception manager to be established