avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/baxter/src/java/org/apache/excalibur/baxter AbstractMBean.java
Date Wed, 15 May 2002 10:47:37 GMT
donaldp     02/05/15 03:47:37

  Modified:    baxter/src/java/org/apache/excalibur/baxter
                        AbstractMBean.java
  Log:
  Encapsulate target exception in MBean.
  
  NOT that InvocationException
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-avalon-excalibur/baxter/src/java/org/apache/excalibur/baxter/AbstractMBean.java
  
  Index: AbstractMBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/baxter/src/java/org/apache/excalibur/baxter/AbstractMBean.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractMBean.java	10 May 2002 02:51:13 -0000	1.3
  +++ AbstractMBean.java	15 May 2002 10:47:37 -0000	1.4
  @@ -31,7 +31,7 @@
    *
    * @author <a href="mailto:mail@leosimons.com">Leo Simons</a>
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version CVS $Revision: 1.3 $ $Date: 2002/05/10 02:51:13 $
  + * @version CVS $Revision: 1.4 $ $Date: 2002/05/15 10:47:37 $
    */
   public abstract class AbstractMBean
       extends NotificationBroadcasterSupport
  @@ -194,7 +194,7 @@
           }
           catch( final InvocationTargetException ite )
           {
  -            throw new MBeanException( ite );
  +            throw new MBeanException( ite.getTargetException() );
           }
           catch( final Exception e )
           {
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message