You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/05/02 17:48:16 UTC

[jira] [Commented] (PDFBOX-2054) Remove System.out.println()

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