You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by GitBox <gi...@apache.org> on 2021/01/22 08:51:19 UTC

[GitHub] [zeppelin] Reamer commented on pull request #4031: [ZEPPELIN-5215]. Use TApplicationException instead of TException to propagate exception to zeppelin server

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:
users@infra.apache.org