diff options
author | Michi Henning <michi@zeroc.com> | 2006-02-21 02:17:16 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2006-02-21 02:17:16 +0000 |
commit | 2bd1d1b7c21b50d1f643962bcd1c44fb94dee44f (patch) | |
tree | 78fa7550ce16ede027333c9e12b2b571d5fbf154 /cppe/include/IceE/ExceptionBase.h | |
parent | Fixed Equals() so it can't throw an exception. (diff) | |
download | ice-2bd1d1b7c21b50d1f643962bcd1c44fb94dee44f.tar.bz2 ice-2bd1d1b7c21b50d1f643962bcd1c44fb94dee44f.tar.xz ice-2bd1d1b7c21b50d1f643962bcd1c44fb94dee44f.zip |
Bug 867.
Diffstat (limited to 'cppe/include/IceE/ExceptionBase.h')
-rw-r--r-- | cppe/include/IceE/ExceptionBase.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cppe/include/IceE/ExceptionBase.h b/cppe/include/IceE/ExceptionBase.h index 756785861c1..506e3a81cad 100644 --- a/cppe/include/IceE/ExceptionBase.h +++ b/cppe/include/IceE/ExceptionBase.h @@ -50,6 +50,23 @@ private: static const char* _name; }; +class ICE_API IllegalArgumentException : public Exception +{ +public: + + IllegalArgumentException(const char*, int); + IllegalArgumentException(const char*, int, const std::string&); + virtual const std::string ice_name() const; + virtual Exception* ice_clone() const; + virtual void ice_throw() const; + + std::string reason; + +private: + + static const char* _name; +}; + } #endif |