122123124125126127128129130131132
exceptionWasThrown = true; result = new RpcException(throwable.getMessage()); } // write the result... outputStream.writeBoolean(exceptionWasThrown); outputStream.writeObject(result); return outputStream.getText(); }