Author: tabish
Date: Sat Mar 26 23:00:54 2011
New Revision: 1085823
URL: http://svn.apache.org/viewvc?rev=1085823&view=rev
Log:
Fix exception type thrown doesn't match what the method is documented to throw.
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractQueue.h
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractQueue.h
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractQueue.h?rev=1085823&r1=1085822&r2=1085823&view=diff
==============================================================================
---
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractQueue.h
(original)
+++
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractQueue.h
Sat Mar 26 23:00:54 2011
@@ -64,7 +64,7 @@ namespace util {
return true;
}
- throw decaf::lang::exceptions::IllegalArgumentException(
+ throw decaf::lang::exceptions::IllegalStateException(
__FILE__, __LINE__, "Unable to add specified element to the
Queue." );
}