pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-2054) Remove System.out.println()
Date Fri, 02 May 2014 15:48:16 GMT

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

Tilman Hausherr commented on PDFBOX-2054:
-----------------------------------------

Do you have a file or an application that produces this exception? I will remove the println
and replace it with logging (which can be kept silent), but at this time I would not yet change
the handling by rethrowing the exception.

> Remove System.out.println()
> ---------------------------
>
>                 Key: PDFBOX-2054
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2054
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.4, 1.8.5, 1.8.6, 2.0.0
>            Reporter: Hong-Thai Nguyen
>            Priority: Minor
>
> For example at GlyfSimpleDescript.java
> {code}
> ...
> catch (ArrayIndexOutOfBoundsException e)
>         {
>             System.out.println("error: array index out of bounds");
>         }
> {code}
> and also 'printStackTrace' like in PageDrawer.java:
> {code}
> ...
> catch( IOException io )
>         {
>             io.printStackTrace();
>         }
> {code}
> Should forward exception or keep silence.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message