Some of the other languages actually do that. What about providing a patch? ________________________________ Von: J Gesendet: 02.09.2015 21:38 An: [email protected] Betreff: Why isn't TException a subclass of RuntimeException in Java?
It seems tedious to have to mark every method that does a thrift rpc call with "throws TException" or have to put a try-catch around every call. Why wasn't TException made a subclass of RuntimeException? I think many RPC implementations I've used usually make the rpc/proxy errors runtime exceptions. There usually isn't anything you can do about it locally in the client call anyway.
