summaryrefslogtreecommitdiff
path: root/qpid/java/common
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-10-25 09:24:16 +0000
committerGordon Sim <gsim@apache.org>2006-10-25 09:24:16 +0000
commit908cc6ea00b13711da4c534facff572b16960187 (patch)
tree1d9a6c1783167be839a93fabd1600d4601af2d29 /qpid/java/common
parent28a292ba973e13aaf2a83440b8d8bde576871ce7 (diff)
downloadqpid-python-908cc6ea00b13711da4c534facff572b16960187.tar.gz
Cast to Throwable, not Exception.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@467589 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common')
-rw-r--r--qpid/java/common/src/org/apache/qpid/pool/Event.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/java/common/src/org/apache/qpid/pool/Event.java b/qpid/java/common/src/org/apache/qpid/pool/Event.java
index 6bf86ffc2e..87996fbabd 100644
--- a/qpid/java/common/src/org/apache/qpid/pool/Event.java
+++ b/qpid/java/common/src/org/apache/qpid/pool/Event.java
@@ -45,7 +45,7 @@ class Event
this.data = data;
if (type == EventType.EXCEPTION)
{
- _log.error("Exception event constructed: " + data, (Exception) data);
+ _log.error("Exception event constructed: " + data, (Throwable) data);
}
}