handle exceptions thrown in peer methods (only for String.charAt()
implemented)