Uploaded image for project: 'HiveMind'
  1. HiveMind
  2. HIVEMIND-16

ApplicationRuntimeException does not init cause

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • None
    • framework
    • None
    • Windows XP, jdk5.0 beta1, Eclipse 3.0

    Description

      When you have the situation, that while setting a property through hivemind an exception is thrown inside the set-method, you only get simple message, saying that the update of a property failed with a java.lang.reflect.InvocationTargetException. This is not very informative, since the real cause can be anything, ranging from ClassNotFound to anything imaginable. Therefore I enhanced the org.apache.hivemind.ApplicationRuntimeException so that it inits the cause of the ARE to the one supplied with its constructor. Very simple change, just add the corresponding super-constructor argument. I have a patch file, that holds these changes.

      Greetings,

      Christian Domsch

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            landrus Christian Domsch
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: