Axiom
  1. Axiom
  2. AXIOM-414

Nonspecific exception thrown from OMText.getDataHandler()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.10
    • Fix Version/s: 1.2.13
    • Component/s: API
    • Labels:
      None

      Description

      Calls to OMText.getDataHandler() may return with RuntimeException("ContentId is null").

      If the thrown exception were more specific, receiving catch statements could be narrower.

      The API needn't be changed if OMText.getDataHandler() instead throws an appropriate subclass of RuntimeException (possibly OMException with the same message or else another subclass).

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            James Grahn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development