Abdera
  1. Abdera
  2. ABDERA-73

Exception support for CollectionProviders

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      CollectionProviders need a way to throw exceptions and get errors back to the user. This patch introduces some changes along those lines so you can do things like:

      throw new ResponseContextException(404);
      throw new ResponseContextException(new EmptyResponseContext(...), cause);

      etc, etc.

      1. ex.patch
        35 kB
        Dan Diephouse

        Activity

        Dan Diephouse created issue -
        Hide
        Dan Diephouse added a comment -

        This patches fixes this issue and also:
        1. Calls toASCIIString() in FOMEntry so that setContent(IRI, MimeType) works when there are encoded characters in the path
        2. Adds apache license headers to a bunch of files which I submitted

        Show
        Dan Diephouse added a comment - This patches fixes this issue and also: 1. Calls toASCIIString() in FOMEntry so that setContent(IRI, MimeType) works when there are encoded characters in the path 2. Adds apache license headers to a bunch of files which I submitted
        Dan Diephouse made changes -
        Field Original Value New Value
        Attachment ex.patch [ 12367496 ]
        Hide
        Dan Diephouse added a comment -

        Updated version of the patch which supports Summarys as well.

        Show
        Dan Diephouse added a comment - Updated version of the patch which supports Summarys as well.
        Dan Diephouse made changes -
        Attachment ex.patch [ 12367574 ]
        Dan Diephouse made changes -
        Attachment ex.patch [ 12367496 ]
        Hide
        James M Snell added a comment -

        Committed

        Show
        James M Snell added a comment - Committed
        James M Snell made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Dan Diephouse
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development