Reamer commented on pull request #4031:
URL: https://github.com/apache/zeppelin/pull/4031#issuecomment-765244322


   I think we should use custom exceptions.
   
   > User code operates at a higher layer and doesn’t generate 
TApplicationExceptions, rather making use of user-defined exceptions, which we 
cover next. TApplicationExceptions involve problems such as calling a method 
that isn’t implemented or failing to provide the necessary arguments to a 
method.
   
   > Like TApplicationExceptions, user-defined exceptions are derived from 
TException. The distinction is that TApplicationExceptions are raised by the 
Apache Thrift framework and user-defined exceptions are raised by user code.
   
   Other link for the same book: 
https://freecontent.manning.com/apache-thrift-handling-exceptions/


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to