diff options
| author | Mike Wey | 2013-02-12 20:09:00 +0100 |
|---|---|---|
| committer | Mike Wey | 2013-02-12 20:09:00 +0100 |
| commit | e93afa5f6a505e75327722aa3fef66c00e9f544d (patch) | |
| tree | 1b0d64de9974e3144186d67b4d1b0e9e9060c48d /dmagick | |
| parent | 7968aa142fb8c2c4494382726a3fdb784e0b467f (diff) | |
Don't throw Exceptions for warnings. See issue #10
Diffstat (limited to 'dmagick')
| -rw-r--r-- | dmagick/Exception.d | 4 |
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;"; |
