diff options
author | Benoit Foucher <benoit@zeroc.com> | 2002-11-25 22:23:00 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2002-11-25 22:23:00 +0000 |
commit | e0ac69f7b067964774a5d3d241bc5496564e37ba (patch) | |
tree | 0db95ebe5daf6d694b80060c79c0cfd6436bfffb /cpp/src/Ice/Instance.cpp | |
parent | more detail for CompressionException (diff) | |
download | ice-e0ac69f7b067964774a5d3d241bc5496564e37ba.tar.bz2 ice-e0ac69f7b067964774a5d3d241bc5496564e37ba.tar.xz ice-e0ac69f7b067964774a5d3d241bc5496564e37ba.zip |
- Added Ice.NullHandleAbort property
- Fixed Locator.ice exception names to be consistent with other exceptions.
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index 7f95182d365..614803f09a7 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -57,6 +57,13 @@ IceUtil::Mutex* Instance::_globalStateMutex = new IceUtil::Mutex; string Instance::_identForOpenlog; #endif +namespace IceUtil +{ + +extern bool nullHandleAbort; + +}; + namespace IceInternal { @@ -299,6 +306,11 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, int& argc, } openlog(_identForOpenlog.c_str(), LOG_PID, LOG_USER); } + + if(_properties->getPropertyAsInt("Ice.NullHandleAbort") > 0) + { + IceUtil::nullHandleAbort = true; + } #endif } |