diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-04-22 18:46:33 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-04-22 18:46:33 +0000 |
commit | 5a418360a853a7a38fda24e82a6e0ae66f3dd12b (patch) | |
tree | f8f1c4cff91d9db6572a0e5ab97e00ad8ff4c91b /cpp/include/IceUtil/ThreadException.h | |
parent | Removed a few more exceptions (diff) | |
download | ice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.tar.bz2 ice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.tar.xz ice-5a418360a853a7a38fda24e82a6e0ae66f3dd12b.zip |
Changed ice_name() to return const char*
Diffstat (limited to 'cpp/include/IceUtil/ThreadException.h')
-rw-r--r-- | cpp/include/IceUtil/ThreadException.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/include/IceUtil/ThreadException.h b/cpp/include/IceUtil/ThreadException.h index d1fbcecc61e..cc477754531 100644 --- a/cpp/include/IceUtil/ThreadException.h +++ b/cpp/include/IceUtil/ThreadException.h @@ -20,7 +20,7 @@ class ICE_UTIL_API ThreadSyscallException : public Exception public: ThreadSyscallException(const char*, int, int); - virtual const std::string& ice_name() const; + virtual const char* ice_name() const; virtual void ice_print(std::ostream&) const; virtual Exception* ice_clone() const; virtual void ice_throw() const; @@ -29,7 +29,7 @@ public: private: const int _error; - static ::std::string _name; + static const char* _name; }; class ICE_UTIL_API ThreadLockedException : public Exception @@ -37,13 +37,13 @@ class ICE_UTIL_API ThreadLockedException : public Exception public: ThreadLockedException(const char*, int); - virtual const std::string& ice_name() const; + virtual const char* ice_name() const; virtual Exception* ice_clone() const; virtual void ice_throw() const; private: - static ::std::string _name; + static const char* _name; }; class ICE_UTIL_API ThreadStartedException : public Exception @@ -51,13 +51,13 @@ class ICE_UTIL_API ThreadStartedException : public Exception public: ThreadStartedException(const char*, int); - virtual const std::string& ice_name() const; + virtual const char* ice_name() const; virtual Exception* ice_clone() const; virtual void ice_throw() const; private: - static ::std::string _name; + static const char* _name; }; class ICE_UTIL_API ThreadNotStartedException : public Exception @@ -65,13 +65,13 @@ class ICE_UTIL_API ThreadNotStartedException : public Exception public: ThreadNotStartedException(const char*, int); - virtual const std::string& ice_name() const; + virtual const char* ice_name() const; virtual Exception* ice_clone() const; virtual void ice_throw() const; private: - static ::std::string _name; + static const char* _name; }; } |