Author: Tobias Schlitt
Date: 2006-01-13 15:42:50 +0100 (Fri, 13 Jan 2006)
New Revision: 1834

Log:
- Removed deprecated exceptions.

Removed:
   packages/ImageConversion/trunk/src/exceptions/converter.php
   packages/ImageConversion/trunk/src/exceptions/filters.php
   packages/ImageConversion/trunk/src/exceptions/handler.php
Modified:
   packages/ImageConversion/trunk/src/image_autoload.php

Deleted: packages/ImageConversion/trunk/src/exceptions/converter.php
===================================================================
--- packages/ImageConversion/trunk/src/exceptions/converter.php 2006-01-13 
14:41:45 UTC (rev 1833)
+++ packages/ImageConversion/trunk/src/exceptions/converter.php 2006-01-13 
14:42:50 UTC (rev 1834)
@@ -1,53 +0,0 @@
-<?php
-/**
- * File containing the abstract class ezcImageConverterException.
- *
- * @package ImageConversion
- * @version //autogentag//
- * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
- * @filesource
- */
-
-/**
- * Exception to be thrown be ezcImageConverter classes.
- *
- * @see ezcImageConverterInterface
- * @see ezcImageConverter
- *
- * @package ImageConversion
- */
-class ezcImageConverterException extends Exception
-{
-    /**
-     * The specified handler is not available.
-     */
-    const HANDLER_NOT_AVAILABLE = 1;
-
-    /**
-     * The given MIME type is not supported by converter.
-     */
-    const MIMETYPE_NOT_AVAILABLE = 2;
-
-    /**
-     * The given filter is not supported by converter.
-     */
-    const FILTER_NOT_AVAILABLE = 3;
-
-    /**
-     * The transformation you tried to register already exists. Remove it first
-     * to re-register it.
-     */
-    const TRANSFORMATION_ALREADY_EXISTS = 4;
-
-    /**
-     * Requested transformation does not exists in converter.
-     */
-    const TRANSFORMATION_NOT_AVAILABLE = 5;
-
-    /**
-     * The handler settings object is not valid for usage in converter.
-     */
-    const HANDLER_SETTINGS_INVALID = 6;
-}
-?>

Deleted: packages/ImageConversion/trunk/src/exceptions/filters.php
===================================================================
--- packages/ImageConversion/trunk/src/exceptions/filters.php   2006-01-13 
14:41:45 UTC (rev 1833)
+++ packages/ImageConversion/trunk/src/exceptions/filters.php   2006-01-13 
14:42:50 UTC (rev 1834)
@@ -1,44 +0,0 @@
-<?php
-/**
- * File containing the abstract class ezcImageFiltersException.
- *
- * @package ImageConversion
- * @version //autogentag//
- * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
- * @filesource
- */
-
-/**
- * Exception to be thrown for filter errors.
- *
- * @package ImageConversion
- */
-class ezcImageFiltersException extends Exception
-{
-    /**
-     * The requested filter is not available.
-     */
-    const NOT_AVAILABLE = 1;
-
-    /**
-     * A parameter required for a filter is missing.
-     */
-    const MISSING_PARAMETER = 2;
-
-    /**
-     * Applying a filter failed.
-     */
-    const FAILED = 3;
-
-    /**
-     * Use of an invalid parameter for a filter.
-     */
-    const INVALID_PARAMETER = 4;
-
-    /**
-     * The filter object is not an instance of ezcImageFilter.
-     */
-    const WRONG_FILTER_INSTANCE = 5;
-}
-?>

Deleted: packages/ImageConversion/trunk/src/exceptions/handler.php
===================================================================
--- packages/ImageConversion/trunk/src/exceptions/handler.php   2006-01-13 
14:41:45 UTC (rev 1833)
+++ packages/ImageConversion/trunk/src/exceptions/handler.php   2006-01-13 
14:42:50 UTC (rev 1834)
@@ -1,52 +0,0 @@
-<?php
-/**
- * File containing the abstract class ezcImageHandlerException.
- *
- * @package ImageConversion
- * @version //autogentag//
- * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
- * @license http://ez.no/licenses/new_bsd New BSD License
- * @filesource
- */
-
-/**
- * Exception to be thrown be ezcImageHandler classes.
- *
- * @see ezcImageHandler
- *
- * @package ImageConversion
- */
-class ezcImageHandlerException extends Exception
-{
-    /**
-     * The handler backend is not available.
-     */
-    const NOT_AVAILABLE = 1;
-
-    /**
-     * The type of file given could not be processed by the handler.
-     */
-    const UNKNOWN_TYPE = 2;
-
-    /**
-     * A given file does either not exist or is not readable.
-     */
-    const FILE_NOT_EXISTS = 3;
-
-    /**
-     * File could not be processed by handler.
-     */
-    const FILE_NOT_PROCESSABLE = 4;
-
-    /**
-     * An invalid image reference was submitted to the handler.
-     */
-    const INVALID_REFERENCE = 5;
-
-    /**
-     * A rule for implementing an ezcImageHandler has been broken.
-     * @see ezcImageHandler::__construct()
-     */
-    const IMPLEMENTATION_ERROR = 6;
-}
-?>

Modified: packages/ImageConversion/trunk/src/image_autoload.php
===================================================================
--- packages/ImageConversion/trunk/src/image_autoload.php       2006-01-13 
14:41:45 UTC (rev 1833)
+++ packages/ImageConversion/trunk/src/image_autoload.php       2006-01-13 
14:42:50 UTC (rev 1834)
@@ -45,10 +45,6 @@
     'ezcImageTransformationException'               => 
'ImageConversion/exceptions/transformation.php',
     'ezcImageTransformationAlreadyExistsException'  => 
'ImageConversion/exceptions/transformation_already_exists.php',
     'ezcImageTransformationNotAvailableException'   => 
'ImageConversion/exceptions/transformation_not_available.php',
-
-    // @todo: REMOVE
-    'ezcImageHandlerException'                           => 
'ImageConversion/exceptions/handler.php',
-    'ezcImageFiltersException'                           => 
'ImageConversion/exceptions/filters.php',
 );
 
 ?>

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to