[
https://issues.apache.org/jira/browse/THRIFT-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henrique Mendonca updated THRIFT-1065:
--------------------------------------
Attachment: THRIFT-1065-qunit-clean-up.patch
THRIFT-1065-throw-appexception.patch
apparently the java server is not encoding undeclared exceptions "properly" (it
could be my impl., please see patch), but it works fine on C++
Incoming content: [1,"testException",1,0,{"1":{"str":"TApplicationException"}}]
[cpp] Outgoing content: [1,"testException",3,0,{"1":{"str":"This is a
TApplicationException"},"2":{"i32":0}}]
[java] Outgoing content: Error:This is a TApplicationException
> 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-qunit-clean-up.patch,
> THRIFT-1065-read-undefined-exceptions2.patch,
> THRIFT-1065-throw-appexception.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