ICEpdf
  1. ICEpdf
  2. PDF-338

Trapping of java.lang.InterruptedException

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 5.0
    • Component/s: Core/Parsing, Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description

      The forum user reported that when using page.getText() they are unable to determine if the method failed because of an interrupt exception due to the fact the method catches the method. I would tent to agree with the user. we should probably push this type of exception catching up into the RI level to give the end users more flexibility with the core API.

      We'll have to wait for a major version to make this change to the API. We should also take a closer look at other such handling and see if there isn't room for improvement.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.3 [ 10266 ]
        Hide
        Patrick Corless added a comment -

        Moving the API changes out to a major version change, v5.0.

        Show
        Patrick Corless added a comment - Moving the API changes out to a major version change, v5.0.
        Patrick Corless made changes -
        Salesforce Case []
        Fix Version/s 5.0 [ 10314 ]
        Fix Version/s 4.3 [ 10266 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #34196 Tue Apr 02 15:24:31 MDT 2013 patrick.corless PDF-338 updated page.getText() and collateral so that the Interrupted exception will bubble up if thrown.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/examples/extraction/PageTextExtraction.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/search/DocumentSearchControllerImpl.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Document.java
        Hide
        Patrick Corless added a comment -

        API change has been make for 5.0.

        Show
        Patrick Corless added a comment - API change has been make for 5.0.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: