The default exception declarations in Thrift IDL file generates Exception objects inherited from Java Exceptions class. How do I generate exceptions in Thrift IDL from Java RuntimeException class?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yeah, I am heavily relying on thrift 0.8 in my code and I don’t want put ” throws MyException” all over the code.
I haven’t found more ellegant way than to hack the compiler.