Add exception handling in REST server.