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

ASF GitHub Bot commented on AVRO-2127:
--------------------------------------

dkulp commented on issue #273: AVRO-2127 Make InvalidAvroMagicException thrown 
if stream header is corrupted
URL: https://github.com/apache/avro/pull/273#issuecomment-437088121
 
 
   This was included as part of #323 / AVRO-2127

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Throwing more specific exception if an avro file has currupted magic
> --------------------------------------------------------------------
>
>                 Key: AVRO-2127
>                 URL: https://issues.apache.org/jira/browse/AVRO-2127
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.8.2
>            Reporter: Dmitrii Bundin
>            Assignee: Dmitrii Bundin
>            Priority: Minor
>
> Curently we have IOException thrown if an avro file has incorrect magic. 
> It seems reasonable to throw a subclass of IOException to be able to handle 
> incorrect magic (in case length are match) in user code.



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

Reply via email to