diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-12-15 17:30:05 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-12-15 17:30:05 +0000 |
commit | 7de545c179c4876c8121385b96d503c6421b4f1c (patch) | |
tree | 12b884d339ccfd9345c176a3fb1b8cfc8991ac3c /java/src/Freeze/Map.java | |
parent | AMI for WishPatch (diff) | |
download | ice-7de545c179c4876c8121385b96d503c6421b4f1c.tar.bz2 ice-7de545c179c4876c8121385b96d503c6421b4f1c.tar.xz ice-7de545c179c4876c8121385b96d503c6421b4f1c.zip |
remove now returns null if the key is not found
Diffstat (limited to 'java/src/Freeze/Map.java')
-rw-r--r-- | java/src/Freeze/Map.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/Freeze/Map.java b/java/src/Freeze/Map.java index bfdec6fe2a0..68dfb2a4e4c 100644 --- a/java/src/Freeze/Map.java +++ b/java/src/Freeze/Map.java @@ -269,9 +269,7 @@ public abstract class Map extends java.util.AbstractMap } else { - NotFoundException ex = new NotFoundException(); - ex.message = _errorPrefix + "Db.del: DB_NOTFOUND"; - throw ex; + return null; } } |