Fix Eclipse warning - unused throws
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Sep 2011 19:06:52 +0000 (19:06 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Sep 2011 19:06:52 +0000 (19:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1174322 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/modeler/BaseModelMBean.java

index 251a42c..cb330a9 100644 (file)
@@ -43,7 +43,6 @@ import javax.management.ObjectName;
 import javax.management.ReflectionException;
 import javax.management.RuntimeErrorException;
 import javax.management.RuntimeOperationsException;
-import javax.management.modelmbean.InvalidTargetObjectTypeException;
 import javax.management.modelmbean.ModelMBeanNotificationBroadcaster;
 
 import org.apache.juli.logging.Log;
@@ -504,9 +503,8 @@ public class BaseModelMBean implements DynamicMBean, MBeanRegistration, ModelMBe
      * @exception RuntimeOperationsException if the managed resource or the
      *  resource type is <code>null</code> or invalid
      */
-    public Object getManagedResource()
-        throws InstanceNotFoundException, InvalidTargetObjectTypeException,
-        MBeanException, RuntimeOperationsException {
+    public Object getManagedResource() throws InstanceNotFoundException,
+            MBeanException, RuntimeOperationsException {
 
         if (resource == null)
             throw new RuntimeOperationsException