summaryrefslogtreecommitdiffstats
path: root/src/driver
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-06-12 08:12:00 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-06-12 08:12:00 +0000
commite70916dae91a1ca09f7464090d1739e7acedc1c7 (patch)
tree0ccaa6aaf9f7d6f7f8c99a9d36fc41e8b0ca688e /src/driver
parent5c15063020eba2fd932b3a917b295140123bae3c (diff)
downloadzetacomponents-graph-e70916dae91a1ca09f7464090d1739e7acedc1c7.zip
zetacomponents-graph-e70916dae91a1ca09f7464090d1739e7acedc1c7.tar.gz
- Added missing exception to autoload file
- Added test for UnsupportedImageType exception
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/gd.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/gd.php b/src/driver/gd.php
index 8af7b2f..e112507 100644
--- a/src/driver/gd.php
+++ b/src/driver/gd.php
@@ -108,7 +108,7 @@ class ezcGraphGdDriver extends ezcGraphDriver
'image' => imagecreatefrompng( $file )
);
default:
- throw new ezcGraphGdDriverUnsupportedImageFormatException( $data[2] );
+ throw new ezcGraphGdDriverUnsupportedImageTypeException( $data[2] );
}
}
OpenPOWER on IntegriCloud