Added stacktrace output to class based message handlers that throw an exception.