[
https://issues.apache.org/jira/browse/AVRO-1342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Taylor updated AVRO-1342:
-------------------------------
Attachment: continue-on-exception.diff
Attached is an example where the exception is caught and logged only.
Apologies for the gratuitous use of Linq.
> ObjectCreator fails if bad assemblies loaded
> --------------------------------------------
>
> Key: AVRO-1342
> URL: https://issues.apache.org/jira/browse/AVRO-1342
> Project: Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.7.4
> Environment: Windows, Visual Studio
> Reporter: David Taylor
> Priority: Minor
> Attachments: continue-on-exception.diff
>
>
> When iterating over the list of assemblies in ObjectCreator.cs the GetTypes()
> call can fail with an exception if there is a load error on an assembly.
> Currently this exception is propagated but really does not need to be. I
> think a more reasonable approach is to note the error and then try the next
> assembly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira