activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1085823 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/AbstractQueue.h
Date Sat, 26 Mar 2011 23:00:55 GMT
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." );
         }
 



Mime
View raw message