summaryrefslogtreecommitdiff
path: root/dmagick/Exception.d
diff options
context:
space:
mode:
authorMike Wey2011-06-05 23:53:28 +0200
committerMike Wey2011-06-05 23:53:28 +0200
commitfd9fe3b67f8175178d46f5c46e5b61a09dd5d74f (patch)
treefbbf00b68fc24944cc45b579d7440c0dfa83d785 /dmagick/Exception.d
parent1c067dd530aa125dbee06531420ed85749780e19 (diff)
Add clut, colorize, colorMatrix and histogram.
Diffstat (limited to 'dmagick/Exception.d')
-rw-r--r--dmagick/Exception.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmagick/Exception.d b/dmagick/Exception.d
index 5add259..23f07a6 100644
--- a/dmagick/Exception.d
+++ b/dmagick/Exception.d
@@ -26,7 +26,7 @@ import dmagick.c.exception;
*/
class DMagickException : Exception
{
- this(string reason, string description)
+ this(string reason, string description = null)
{
string message = to!(string)(GetClientName());
@@ -93,7 +93,7 @@ class DMagickException : Exception
*/
class DMagickError : Error
{
- this(string reason, string description)
+ this(string reason, string description = null)
{
string message = to!(string)(GetClientName());