Extracted code in DefautlExceptionMapper#internalMap into extra protected method mapUnexpectedException and changed private -> protected on other methods to make DefaultExceptionMapper extensible.
Supressing log message if usesDevelopmentConfig() in DefaultExceptionMapper#internalMap to not log exception twice (it was already logged int RequestCycle#handleException)