Sample showing how to map custom exceptions to HTTP Response codes