Add RESTEasy exception handler. Add balance check on client side.