summaryrefslogtreecommitdiff
path: root/generic/Exceptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Exceptions.cpp')
-rw-r--r--generic/Exceptions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/Exceptions.cpp b/generic/Exceptions.cpp
index 510e0a3..1159cdd 100644
--- a/generic/Exceptions.cpp
+++ b/generic/Exceptions.cpp
@@ -157,3 +157,7 @@ pid_t xfork() throw (GeneralException) {
return p;
}
+
+void xexit(int status) throw (GeneralException) {
+ throw Exit(status);
+}