summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Allocatable.cpp
diff options
context:
space:
mode:
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;