To handle exceptions, I have to create one and see the response. How to throw exceptions for test purposes?