Try
     e.javaException()

Thanks,
Tanya

On Mon, Jun 8, 2015 at 5:03 PM, Thilini Cooray <[email protected]> wrote:

> Hi,
>
> Is there an approach to identify the type of java exception caught in
> JaggeryJS catch block?
>
> For an example,
> Suppose a java function throws an
> org.wso2.carbon.apimgt.api.APIManagementException.
> Rhino engine throws a org.mozilla.javascript.WrappedException: Wrapped
> org.wso2.carbon.apimgt.api.APIManagementException to the Jaggery app.
>
> How can I identify that the type of exception caught by JaggeryJS catch
> block is org.wso2.carbon.apimgt.api.APIManagementException?
>
> Thanks.
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
> E-mail : [email protected]
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Tanya Madurapperuma

Senior Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94718184439
Blog : http://tanyamadurapperuma.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to