use exception for unimplemented method
authorTorben Brodt <t.brodt@gmail.com>
Mon, 30 Jan 2012 20:48:39 +0000 (21:48 +0100)
committerTorben Brodt <t.brodt@gmail.com>
Mon, 30 Jan 2012 20:48:39 +0000 (21:48 +0100)
wcfsetup/install/files/lib/system/image/adapter/ImagickImageAdapter.class.php

index d603997617ee8b9cbc3d53725ba45946523e13a7..db076242fa7ae285e8fd6bd64ab7f92107ef58b5 100644 (file)
@@ -94,7 +94,7 @@ class ImagickImageAdapter implements IImageAdapter {
         * @see wcf\system\image\adapter\IImageAdapter::resize()
         */
        public function resize($originX, $originY, $originWidth, $originHeight, $targetX, $targetY, $targetWidth, $targetHeight) {
-               // TODO: Implement resize() method.
+               throw new \Exception("resize() method not implemented yet."); // TODO: Implement resize() method.
        }
        
        /**