[ 
https://issues.apache.org/jira/browse/THRIFT-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995978#comment-12995978
 ] 

Henrique Mendonca commented on THRIFT-1065:
-------------------------------------------

e.g. if you remove the _throws_ declaration from:
_void testException(1: string arg) throws(1: Xception err1),_
*void testException(1: string arg),*

ThriftTest.thrift and run the JS test (which throws the _unexpected_ exception)

I get something like:
{quote}
fname not defined
var ret = input.readStructBegin(fname)
{quote}

> Unexpected exceptions not proper handled on JS
> ----------------------------------------------
>
>                 Key: THRIFT-1065
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1065
>             Project: Thrift
>          Issue Type: Bug
>          Components: JavaScript - Library
>    Affects Versions: 0.6
>            Reporter: Henrique Mendonca
>            Priority: Minor
>              Labels: javascript, thrift
>             Fix For: 0.7
>
>         Attachments: THRIFT-1065-read-undefined-exceptions2.patch
>
>
> Following THRIFT-550 and THRIFT-807:
> We still get JS errors when any undeclared exception is thrown (if not 
> defined on the service IDL)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to