Sreenath Somarajapuram created TEZ-2795:
-------------------------------------------
Summary: AM web service V2: Refactoring & optimization
Key: TEZ-2795
URL: https://issues.apache.org/jira/browse/TEZ-2795
Project: Apache Tez
Issue Type: Sub-task
Reporter: Sreenath Somarajapuram
Make error handling better
- Currently on error the function returns null, and the callee checks for null
value which is not the best approach.
- Guess the best is to modify the exception to give a meaning full message, and
then re-throw the same. A base try..catch block can be put in to handle all
exceptions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)