openmicroscopy/openmicroscopy — pull request #471 by joshmoore (2012-11-08 15:23:59+00:00)
Title: Add call to notifyObservers before cancelling (Fix #9852)

This adds an INTERNAL_EXCEPTION message in case of an exception during importCandidates. There are other methods that similarly need fixing, but in order to not confuse things for 4.4.5, I'm omitted those here. (See below for an example)

To test I add a ``new RuntimeException("test")`` just before the ``catch`` block. There's likely no other easy way to be sure that the ``importImage`` will throw (in fact, because of the eaten exception, I still don't know what's causing it in the forum post linked to 9852).