donaldp 02/03/21 00:16:43
Modified: src/java/org/apache/jmx/introspector AbstractMBean.java
Log:
FIx bug.
After you create an exception you need to throw it!
Revision Changes Path
1.7 +3 -3
jakarta-avalon-phoenix/src/java/org/apache/jmx/introspector/AbstractMBean.java
Index: AbstractMBean.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-phoenix/src/java/org/apache/jmx/introspector/AbstractMBean.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- AbstractMBean.java 16 Mar 2002 00:11:57 -0000 1.6
+++ AbstractMBean.java 21 Mar 2002 08:16:42 -0000 1.7
@@ -31,7 +31,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Leo Simons</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Donald</a>
- * @version CVS $Revision: 1.6 $ $Date: 2002/03/16 00:11:57 $
+ * @version CVS $Revision: 1.7 $ $Date: 2002/03/21 08:16:42 $
*/
public abstract class AbstractMBean
extends NotificationBroadcasterSupport
@@ -122,7 +122,7 @@
if( null == method )
{
- new AttributeNotFoundException( attribute );
+ throw new AttributeNotFoundException( attribute );
}
try
@@ -220,7 +220,7 @@
if( null == method )
{
- new AttributeNotFoundException( attribute.getName() );
+ throw new AttributeNotFoundException( attribute.getName() );
}
try
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>