You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2015/04/26 21:41:40 UTC

[jira] [Updated] (IMAGING-169) PnmImageParser throws NumberFormatException instead of ImageReadException when parsing invalid images

     [ 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)