Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Thrift IDL 文件中的默认异常声明生成继承自 Java Exceptions 类的 Exception 对象。如何在 Thrift IDL 中从 Java RuntimeException 类生成异常?
谢谢。
是的,我在我的代码中严重依赖 thrift 0.8,我不想在整个代码中都放置“ throws MyException”。我还没有找到比破解编译器更优雅的方法。