<?php
namespace ModulesAbstract\FileExplorer; class ThumbCreatorModel extends \Engine\GenDocument\Image\ThumbnailCreator { protected function createThumbnail($source, $dest) { try { return parent::createThumbnail($source, $dest); } catch (\Engine\GenDocument\Image\Exception $ex) { throw new \Engine\Mvc\ModelException("Error while processing image", 0, $ex); } } }