geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r154616 - geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/SinglePoolConnectionInterceptor.java
Date Mon, 21 Feb 2005 02:49:58 GMT
Author: djencks
Date: Sun Feb 20 18:49:58 2005
New Revision: 154616

URL: http://svn.apache.org/viewcvs?view=rev&rev=154616
Log:
more informative error message

Modified:
    geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/SinglePoolConnectionInterceptor.java

Modified: geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/SinglePoolConnectionInterceptor.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/SinglePoolConnectionInterceptor.java?view=diff&r1=154615&r2=154616
==============================================================================
--- geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/SinglePoolConnectionInterceptor.java
(original)
+++ geronimo/trunk/modules/connector/src/java/org/apache/geronimo/connector/outbound/SinglePoolConnectionInterceptor.java
Sun Feb 20 18:49:58 2005
@@ -19,6 +19,7 @@
 
 import java.util.ArrayList;
 import java.util.Collections;
+import java.util.Arrays;
 import javax.resource.ResourceException;
 import javax.resource.spi.ManagedConnection;
 
@@ -202,9 +203,8 @@
         //internal
         public void add(ManagedConnectionInfo mci) {
             if (last == deque.length - 1) {
-                throw new IllegalStateException("deque is full");
+                throw new IllegalStateException("deque is full: contents: " + Arrays.asList(deque));
             }
-
             deque[++last] = mci;
         }
 



Mime
View raw message