aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Halloway <stu@thinkrelevance.com>2010-03-30 11:55:03 -0400
committerStuart Halloway <stu@thinkrelevance.com>2010-03-30 11:55:03 -0400
commitffcfbf9f1c4fd4df4a987bcd1b662311de1b6216 (patch)
treefcb4e25027a3547f57db9b7d13a9561cfd04ba30
parent25071831e8367a4b4b1a3a3ce5ca6fc0e92fa8c7 (diff)
troubleshooting build box: another ad hoc exception for read-supported
-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