support exceptions raised by RPCs