LuaVoxelManip: Add option to allocate blank data
[oweals/minetest.git] / src / exceptions.h
index 6d6ad333a442bcb5690fbce59e1edf2a9bb25ec2..abd8c68ae31ee9b0917eb8fd529e6b826a425f16 100644 (file)
@@ -125,6 +125,18 @@ public:
        Some "old-style" interrupts:
 */
 
+class InvalidNoiseParamsException : public BaseException {
+public:
+       InvalidNoiseParamsException():
+               BaseException("One or more noise parameters were invalid or require "
+                       "too much memory")
+       {}
+
+       InvalidNoiseParamsException(const std::string &s):
+               BaseException(s)
+       {}
+};
+
 class InvalidPositionException : public BaseException
 {
 public: