Implement Monitor#exceptionListener and their test

Implement Monitor#exceptionListener and their test