diff options
Diffstat (limited to 'java/src/IceInternal/Buffer.java')
-rw-r--r-- | java/src/IceInternal/Buffer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/IceInternal/Buffer.java b/java/src/IceInternal/Buffer.java index a8335b56da3..bef80cb43df 100644 --- a/java/src/IceInternal/Buffer.java +++ b/java/src/IceInternal/Buffer.java @@ -162,7 +162,7 @@ public class Buffer catch(OutOfMemoryError ex) { _capacity = b.capacity(); // Restore the previous capacity. - throw new Ice.MarshalException("OutOfMemoryError occurred while allocating a ByteBuffer", ex); + throw ex; } } |