added HTTP status code in exceptions