[ 
https://issues.apache.org/jira/browse/LENS-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajat Khandelwal updated LENS-1037:
-----------------------------------
    Attachment: Screen Shot 2016-05-09 at 12.56.51 pm.png
                Screen Shot 2016-05-09 at 12.57.01 pm.png

> 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
>         Attachments: Screen Shot 2016-05-09 at 12.56.51 pm.png, Screen Shot 
> 2016-05-09 at 12.57.01 pm.png
>
>
> 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)

Reply via email to