]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/exceptions.h
Implement urlencode and urldecode
[dragonfireclient.git] / src / exceptions.h
index 35a57d0701a39edd34c0677141220b818e9510f6..085b424177af20c1bc861afe5ea1d5f619caacc6 100644 (file)
@@ -1,6 +1,6 @@
 /*
-Minetest-c55
-Copyright (C) 2010 celeron55, Perttu Ahola <celeron55@gmail.com>
+Minetest
+Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License as published by
@@ -140,6 +140,15 @@ class ItemNotFoundException : public BaseException
        {}
 };
 
+// Only used on Windows (SEH)
+class FatalSystemException : public BaseException
+{
+public:
+       FatalSystemException(const char *s):
+               BaseException(s)
+       {}
+};
+
 /*
        Some "old-style" interrupts:
 */