diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-04-21 11:03:19 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-04-21 11:03:19 -0230 |
commit | d6bbb689749d7eb25728feb2426fe4d9bcaaee69 (patch) | |
tree | df16c64ea4c2f728b435982660deea43f0252433 /java/src/IceInternal/ThreadPool.java | |
parent | Bug 3957 - ensure python that starts scripts is same as one it uses internally (diff) | |
download | ice-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.java | 2 |
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()) { |