summaryrefslogtreecommitdiff
path: root/include/Exceptions.h
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-09 14:06:58 +0000
committerPixel <Pixel>2001-11-09 14:06:58 +0000
commit823761df28ad31cde8a071125b177f49494d804a (patch)
tree9e063f7eb4d5ad48039e957f0ec7d5c70fcefe0d /include/Exceptions.h
parent69d9cab0c415837552a84f17366356e9571fdbda (diff)
Exceptions...
Diffstat (limited to 'include/Exceptions.h')
-rw-r--r--include/Exceptions.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/Exceptions.h b/include/Exceptions.h
index 8c37342..56460a6 100644
--- a/include/Exceptions.h
+++ b/include/Exceptions.h
@@ -34,10 +34,10 @@
class MemoryException;
-char * xstrdup(const char *) throw (MemoryException);
-void * xmalloc(ssize_t) throw (MemoryException);
+char * xstrdup(const char *) throw (GeneralException);
+void * xmalloc(ssize_t) throw (GeneralException);
void xfree(void *&);
-void * xrealloc(void *, size_t) throw (MemoryException);
+void * xrealloc(void *, size_t) throw (GeneralException);
// On prédéfinit la classe String, pour éviter
// les deadlocks de compilation...
@@ -110,6 +110,11 @@ class IOAgain : public IOGeneral {
IOAgain();
};
+class TaskSwitch : public GeneralException {
+ public:
+ TaskSwitch();
+};
+
#else
#error This only works with a C++ compiler
#endif