jdk/src/share/classes/com/sun/jmx/namespace/RoutingProxy.java
changeset 1709 392dd6db361a
parent 1570 4165709c91e3
--- a/jdk/src/share/classes/com/sun/jmx/namespace/RoutingProxy.java	Tue Dec 09 19:44:22 2008 +0100
+++ b/jdk/src/share/classes/com/sun/jmx/namespace/RoutingProxy.java	Tue Dec 09 20:20:48 2008 +0100
@@ -199,8 +199,7 @@
     public T source() { return source; }
 
     @Override
-    public ObjectName toSource(ObjectName targetName)
-        throws MalformedObjectNameException {
+    public ObjectName toSource(ObjectName targetName) {
         if (targetName == null) return null;
         if (targetName.getDomain().equals("") && targetNs.equals("")) {
             try {
@@ -229,8 +228,7 @@
     }
 
     @Override
-    public ObjectName toTarget(ObjectName sourceName)
-        throws MalformedObjectNameException {
+    public ObjectName toTarget(ObjectName sourceName) {
         if (sourceName == null) return null;
         return router.toTargetContext(sourceName,false);
     }