summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Allocatable.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-05-09 14:20:04 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-05-09 14:20:04 +0000
commit3cbc6beabc2079727a70f845fc162a2072e97a02 (patch)
treec4ba2dde3970998f3137a8e4cfcf3ac1cc44da06 /cpp/src/IceGrid/Allocatable.cpp
parentAdded identity string functions to communnicator Updated some copyright (diff)
downloadice-3cbc6beabc2079727a70f845fc162a2072e97a02.tar.bz2
ice-3cbc6beabc2079727a70f845fc162a2072e97a02.tar.xz
ice-3cbc6beabc2079727a70f845fc162a2072e97a02.zip
Cleaned up slice files, fixed IceGrid node with collocated registry warning
on shutdown.
Diffstat (limited to 'cpp/src/IceGrid/Allocatable.cpp')
-rw-r--r--cpp/src/IceGrid/Allocatable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/Allocatable.cpp b/cpp/src/IceGrid/Allocatable.cpp
index 4f7dff85b83..5673ae265d2 100644
--- a/cpp/src/IceGrid/Allocatable.cpp
+++ b/cpp/src/IceGrid/Allocatable.cpp
@@ -169,7 +169,7 @@ Allocatable::allocate(const AllocationRequestPtr& request, bool fromRelease)
{
if(!_allocatable)
{
- throw NotAllocatableException("not allocatable");
+ throw AllocationException("not allocatable");
}
try
@@ -198,7 +198,7 @@ Allocatable::release(const SessionIPtr& session, bool fromRelease)
{
if(!_allocatable)
{
- throw NotAllocatableException("not allocatable");
+ throw AllocationException("not allocatable");
}
bool isReleased = false;