Changed the exception mapper to be generic, and added a couple other exceptions to it.