summaryrefslogtreecommitdiffstats
path: root/source/core/exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/exception.h')
-rw-r--r--source/core/exception.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/core/exception.h b/source/core/exception.h
index aedb62add..fc7aa48e2 100644
--- a/source/core/exception.h
+++ b/source/core/exception.h
@@ -121,6 +121,17 @@ namespace Slang
{
}
};
+
+ class AbortCompilationException : public Exception
+ {
+ public:
+ AbortCompilationException()
+ {}
+ AbortCompilationException(const String & message)
+ : Exception(message)
+ {
+ }
+ };
}
#endif \ No newline at end of file