[ 
https://issues.apache.org/jira/browse/IMAGING-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benedikt Ritter updated IMAGING-169:
------------------------------------
    Summary: PnmImageParser throws NumberFormatException instead of 
ImageReadException when parsing invalid images  (was: PnmImageParser fails 
silently when parsing invalid images)

> PnmImageParser throws NumberFormatException instead of ImageReadException 
> when parsing invalid images
> -----------------------------------------------------------------------------------------------------
>
>                 Key: IMAGING-169
>                 URL: https://issues.apache.org/jira/browse/IMAGING-169
>             Project: Commons Imaging
>          Issue Type: Bug
>          Components: Format: PNM
>            Reporter: Nebu Pookins
>             Fix For: Review Patch
>
>
> The general contract for the image parsers is to throw ImageReadException if 
> they are passed an invalid image. PnmImageParser would throw 
> NumberFormatException if the width or header could not be parsed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to