diff options
Diffstat (limited to 'cpp/include/IceUtil/Random.h')
-rw-r--r-- | cpp/include/IceUtil/Random.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/Random.h b/cpp/include/IceUtil/Random.h index 2666c86a772..d92ffe4d1b4 100644 --- a/cpp/include/IceUtil/Random.h +++ b/cpp/include/IceUtil/Random.h @@ -20,13 +20,17 @@ class ICE_UTIL_API RandomGeneratorException : public Exception { public: - RandomGeneratorException(const char*, int); + RandomGeneratorException(const char*, int, int = 0); virtual const std::string ice_name() const; + virtual void ice_print(std::ostream&) const; virtual Exception* ice_clone() const; virtual void ice_throw() const; + int error() const; + private: + const int _error; static const char* _name; }; |