summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Random.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-01-23 11:31:53 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-01-23 11:31:53 +0100
commitc7fb26230801e62f3e690a8948d37c33517c4c13 (patch)
treef17689f60e13fbbd20d12473272a6f0652f39a78 /cpp/include/IceUtil/Random.h
parentremoving EventHandler in C# (diff)
downloadice-c7fb26230801e62f3e690a8948d37c33517c4c13.tar.bz2
ice-c7fb26230801e62f3e690a8948d37c33517c4c13.tar.xz
ice-c7fb26230801e62f3e690a8948d37c33517c4c13.zip
- Added IceUtil::SyscallException and cleaned up few IceUtil exceptions
- Added errorToString() and lastErrorToString() functions to IceUtil/StringUtil.h - Replaced multiple implementations of errorToString methods with the IceUtil one. - Fixed bug 2641.
Diffstat (limited to 'cpp/include/IceUtil/Random.h')
-rw-r--r--cpp/include/IceUtil/Random.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/cpp/include/IceUtil/Random.h b/cpp/include/IceUtil/Random.h
index 021b13bd1ea..50665df42d7 100644
--- a/cpp/include/IceUtil/Random.h
+++ b/cpp/include/IceUtil/Random.h
@@ -16,24 +16,6 @@
namespace IceUtilInternal
{
-class ICE_UTIL_API RandomGeneratorException : public IceUtil::Exception
-{
-public:
-
- RandomGeneratorException(const char*, int, int = 0);
- virtual std::string ice_name() const;
- virtual void ice_print(std::ostream&) const;
- virtual IceUtil::Exception* ice_clone() const;
- virtual void ice_throw() const;
-
- int error() const;
-
-private:
-
- const int _error;
- static const char* _name;
-};
-
ICE_UTIL_API void generateRandom(char*, int);
ICE_UTIL_API int random(int = 0);