You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/05 00:06:00 UTC

[jira] [Commented] (AVRO-732) Generated protocol's method should not throw AvroRemoteException

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

ASF subversion and git services commented on AVRO-732:
------------------------------------------------------

Commit 4c0e41cebc0804c563dffe98a58c06b1c39098e1 in avro's branch refs/heads/master from Daniel Kulp
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=4c0e41c ]

[AVRO-732] Remove AvroRemoteException from generated interfaces
Patch from Sebastien Launay applied


> Generated protocol's method should not throw AvroRemoteException
> ----------------------------------------------------------------
>
>                 Key: AVRO-732
>                 URL: https://issues.apache.org/jira/browse/AVRO-732
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>            Reporter: Sharad Agarwal
>            Priority: Major
>             Fix For: 1.9.0
>
>         Attachments: AVRO-732-remove-generated-remote-exception-2012-12-11.patch, AVRO-732-remove-generated-remote-exception-2012-12-17.patch
>
>
> If user does NOT define the throws clause in the idl, the code is generated with "throws AvroRemoteException" clause. However on throwing the AvroRemoteException from the implementation, the serialization fails. This is not intuitive to users.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)