diff options
Diffstat (limited to 'cpp/src/IceGrid/NodeCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/NodeCache.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/NodeCache.cpp b/cpp/src/IceGrid/NodeCache.cpp index 6acb54222d7..041d9e08a9d 100644 --- a/cpp/src/IceGrid/NodeCache.cpp +++ b/cpp/src/IceGrid/NodeCache.cpp @@ -327,9 +327,7 @@ NodeCache::get(const string& name, bool create) const } if(!entry) { - NodeNotExistException ex; - ex.name = name; - throw ex; + throw NodeNotExistException(name); } return entry; } |