Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-230

Trap exceptions from C

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Object Framework
    • None

    Description

      The Clownfish exception mechanism wraps the host language's exception
      mechanism, making it possible to throw host exceptions from C code without
      knowledge of the host language. We need to augment this capability
      with a way to trap exceptions from C.

      This new feature will enable us to clean up a couple places in the code base,
      such as opening an index reader. More importantly, though, it will make it
      possible to write tests in C which verify error handling.

      Attachments

        1. 0001-LUCY-230-Add-Err_trap.patch
          4 kB
          Marvin Humphrey
        2. 0002-Port-tests-of-abstract-Obj-routines-to-C.patch
          4 kB
          Marvin Humphrey
        3. 0003-Start-core-tests-for-Err.patch
          5 kB
          Marvin Humphrey
        4. 0004-Add-Perl-binding-and-tests-for-Err-trap.patch
          5 kB
          Marvin Humphrey

        Activity

          People

            marvin Marvin Humphrey
            marvin Marvin Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: