use php_imagick_throw_exception when passing a constant
wrong class for the docs
Merge pull request #6 from ptarjan/master

use php_imagick_throw_exception when passing a constant