implementing defaultExceptionHandler.

Serialized exception handlers. See #157.