summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmagick/Exception.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmagick/Exception.d b/dmagick/Exception.d
index 232376f..af3011f 100644
--- a/dmagick/Exception.d
+++ b/dmagick/Exception.d
@@ -65,11 +65,11 @@ class DMagickException : Exception
foreach ( severity; severities )
{
+ //TODO: Warnings?
exceptions ~=
- "case ExceptionType."~ severity ~"Warning:
+ "case ExceptionType."~ severity ~"Error:
throw new "~ severity ~"Exception(reason, description, file, line);
break;
- case ExceptionType."~ severity ~"Error:
case ExceptionType."~ severity ~"FatalError:
throw new "~ severity ~"Error(reason, description, file, line);
break;";