aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pom.xml3
-rw-r--r--src/main/clojure/clojure/contrib/jmx/client.clj3
2 files changed, 2 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index daa7c086..6b80996b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,9 +97,6 @@
<namespace>clojure\.contrib\.repl-ln</namespace>
<namespace>clojure\.contrib\.pprint\.gen-class</namespace>
</namespaces>
- <testNamespaces>
- <namespace>!clojure\.contrib\.test-jmx</namespace>
- </testNamespaces>
</configuration>
<executions>
<execution>
diff --git a/src/main/clojure/clojure/contrib/jmx/client.clj b/src/main/clojure/clojure/contrib/jmx/client.clj
index fa67ca77..ed7419c1 100644
--- a/src/main/clojure/clojure/contrib/jmx/client.clj
+++ b/src/main/clojure/clojure/contrib/jmx/client.clj
@@ -45,7 +45,8 @@
InternalError
java.io.NotSerializableException
java.lang.ClassNotFoundException
- javax.management.AttributeNotFoundException]
+ javax.management.AttributeNotFoundExceptiont
+ javax.management.RuntimeMBeanException]
"Exceptions that might be thrown if you try to read an unsupported
attribute. Found these by testing agains jconsole and Tomcat. This
is dreadful and ad-hoc but I did not want to swallow all