[
https://issues.apache.org/jira/browse/AVRO-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985793#action_12985793
]
Holger Hoffstätte commented on AVRO-732:
----------------------------------------
Philip: you are of course completely correct - thanks for pointing it out. This
means that every implementation needs to be aware of exceptional return values
in general, and at least understand the returned "special" payload enough to
extract meaningful information from it.
I guess this brings us to the question whether we should force
lowest-common-denominator behaviour on all languages, or allow semantic
differences & capabilities to shine through.
> Generated protocol's method should not throw AvroRemoteException
> ----------------------------------------------------------------
>
> Key: AVRO-732
> URL: https://issues.apache.org/jira/browse/AVRO-732
> Project: Avro
> Issue Type: Bug
> Components: java
> Reporter: Sharad Agarwal
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.