The following comment has been added to this issue:

     Author: Luke Blanshard
    Created: Sat, 14 Aug 2004 3:53 PM
       Body:
There is a way to provide 1.4 functionality without depending on any 1.4 API.  
Simply add a "getCause" method to the hivemind exception classes, that returns 
the underlying Throwable, and the 1.4 JVM will do the right thing.

This would be a huge help.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-16?page=comments#action_37252

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/HIVEMIND-16

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-16
    Summary: ApplicationRuntimeException does not init cause
       Type: Improvement

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

    Project: HiveMind
 Components: 
             framework
   Versions:
             1.0

   Assignee: Howard M. Lewis Ship
   Reporter: Christian Domsch

    Created: Tue, 6 Jul 2004 7:18 AM
    Updated: Sat, 14 Aug 2004 3:53 PM
Environment: 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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to