summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/ThreadPool.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-04-21 11:03:19 -0230
committerDwayne Boone <dwayne@zeroc.com>2009-04-21 11:03:19 -0230
commitd6bbb689749d7eb25728feb2426fe4d9bcaaee69 (patch)
treedf16c64ea4c2f728b435982660deea43f0252433 /java/src/IceInternal/ThreadPool.java
parentBug 3957 - ensure python that starts scripts is same as one it uses internally (diff)
downloadice-d6bbb689749d7eb25728feb2426fe4d9bcaaee69.tar.bz2
ice-d6bbb689749d7eb25728feb2426fe4d9bcaaee69.tar.xz
ice-d6bbb689749d7eb25728feb2426fe4d9bcaaee69.zip
Bug 2798 - add reason information to MemoryLimitException
Diffstat (limited to 'java/src/IceInternal/ThreadPool.java')
-rw-r--r--java/src/IceInternal/ThreadPool.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/IceInternal/ThreadPool.java b/java/src/IceInternal/ThreadPool.java
index 1d6b645845c..63fc26e09eb 100644
--- a/java/src/IceInternal/ThreadPool.java
+++ b/java/src/IceInternal/ThreadPool.java
@@ -807,7 +807,7 @@ public final class ThreadPool
}
if(size > _instance.messageSizeMax())
{
- throw new Ice.MemoryLimitException();
+ Ex.throwMemoryLimitException(size, _instance.messageSizeMax());
}
if(size > stream.size())
{