Author: markt
Date: Thu Sep 22 19:06:52 2011
New Revision: 1174322
URL: http://svn.apache.org/viewvc?rev=1174322&view=rev
Log:
Fix Eclipse warning - unused throws
Modified:
tomcat/trunk/java/org/apache/tomcat/util/modeler/BaseModelMBean.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/modeler/BaseModelMBean.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/modeler/BaseModelMBean.java?rev=1174322&r1=1174321&r2=1174322&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/modeler/BaseModelMBean.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/modeler/BaseModelMBean.java Thu
Sep 22 19:06:52 2011
@@ -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 D
* @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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]