db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andre...@apache.org
Subject svn commit: r421566 - /db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatementReply.java
Date Thu, 13 Jul 2006 09:48:25 GMT
Author: andreask
Date: Thu Jul 13 02:48:25 2006
New Revision: 421566

URL: http://svn.apache.org/viewvc?rev=421566&view=rev
Log:
Follow-up to DERBY-1497.When throwing exception NET_LOB_DATA_TOO_LARGE_FOR_JVM, add the OutOfMemoryError
as cause.

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatementReply.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatementReply.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatementReply.java?rev=421566&r1=421565&r2=421566&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatementReply.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatementReply.java Thu
Jul 13 02:48:25 2006
@@ -1484,7 +1484,7 @@
             netCursor.extdtaData_.add(data);
         } catch (java.lang.OutOfMemoryError e) {
             agent_.accumulateChainBreakingReadExceptionAndThrow(new DisconnectException(agent_,
-                new ClientMessageId(SQLState.NET_LOB_DATA_TOO_LARGE_FOR_JVM)));
+                new ClientMessageId(SQLState.NET_LOB_DATA_TOO_LARGE_FOR_JVM), null, e));
         }
     }
 



Mime
View raw message