You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2016/05/09 07:44:12 UTC

[jira] [Created] (LENS-1037) Driver classes should not throw LensException without proper error info

Rajat Khandelwal created LENS-1037:
--------------------------------------

             Summary: Driver classes should not throw LensException without proper error info
                 Key: LENS-1037
                 URL: https://issues.apache.org/jira/browse/LENS-1037
             Project: Apache Lens
          Issue Type: Wish
            Reporter: Rajat Khandelwal


In a lot of places I see some instances where an exception is caught, only to wrap it in new LensException(e), which defaults to INTERNAL_SERVER_ERROR. Instead, I think we should provide error info object in the constructor too wherever possible. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)