Adding an exception-raising endpoint.