diff options
author | Michi Henning <michi@zeroc.com> | 2002-08-29 05:32:38 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-08-29 05:32:38 +0000 |
commit | 41697db9ab1008470ed946801f04e70006c8b0cf (patch) | |
tree | 54fc7414a11f03b99a9bedf5bf08662504bad1b8 /cpp/src/Ice/Instance.cpp | |
parent | some cleanup (diff) | |
download | ice-41697db9ab1008470ed946801f04e70006c8b0cf.tar.bz2 ice-41697db9ab1008470ed946801f04e70006c8b0cf.tar.xz ice-41697db9ab1008470ed946801f04e70006c8b0cf.zip |
Changed SystemException to SyscallException.
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index 33835fbb49c..d8e3a220980 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -258,21 +258,21 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, int& argc, struct passwd* pw = getpwnam(newUser.c_str()); if(!pw) { - SystemException ex(__FILE__, __LINE__); + SyscallException ex(__FILE__, __LINE__); ex.error = getSystemErrno(); throw ex; } if(setgid(pw->pw_gid) == -1) { - SystemException ex(__FILE__, __LINE__); + SyscallException ex(__FILE__, __LINE__); ex.error = getSystemErrno(); throw ex; } if(setuid(pw->pw_uid) == -1) { - SystemException ex(__FILE__, __LINE__); + SyscallException ex(__FILE__, __LINE__); ex.error = getSystemErrno(); throw ex; } @@ -437,7 +437,7 @@ IceInternal::Instance::finishSetup(int& argc, char* argv[]) if(daemon(nochdir, noclose) == -1) { - SystemException ex(__FILE__, __LINE__); + SyscallException ex(__FILE__, __LINE__); ex.error = getSystemErrno(); throw ex; } |