Author: Derick Rethans
Date: 2006-01-13 16:12:04 +0100 (Fri, 13 Jan 2006)
New Revision: 1839

Log:
- Fixed speling errors.

Modified:
   packages/Cache/trunk/src/exceptions/invalid_data.php
   packages/Cache/trunk/src/exceptions/invalid_id.php
   packages/Cache/trunk/src/exceptions/invalid_location.php
   packages/Cache/trunk/src/exceptions/invalid_storage_class.php
   packages/Cache/trunk/src/exceptions/used_location.php

Modified: packages/Cache/trunk/src/exceptions/invalid_data.php
===================================================================
--- packages/Cache/trunk/src/exceptions/invalid_data.php        2006-01-13 
15:09:47 UTC (rev 1838)
+++ packages/Cache/trunk/src/exceptions/invalid_data.php        2006-01-13 
15:12:04 UTC (rev 1839)
@@ -9,7 +9,7 @@
  */
 
 /**
- * The given type of data could not by stored.
+ * The given type of data could not be stored.
  *
  * @package Cache
  * @version //autogen//
@@ -18,7 +18,7 @@
 {
     function __construct( $actualType, array $expectedTypes )
     {
-        parent::__construct( "The given data was of type <{$actualType}>, 
which can not be stored. Expecting: <{" . implode( ', ', $expectedTypes ) . 
"}>." );
+        parent::__construct( "The given data was of type <{$actualType}>, 
which can not be stored. Expecting: <" . implode( ', ', $expectedTypes ) . ">." 
);
     }
 }
 ?>

Modified: packages/Cache/trunk/src/exceptions/invalid_id.php
===================================================================
--- packages/Cache/trunk/src/exceptions/invalid_id.php  2006-01-13 15:09:47 UTC 
(rev 1838)
+++ packages/Cache/trunk/src/exceptions/invalid_id.php  2006-01-13 15:12:04 UTC 
(rev 1839)
@@ -9,7 +9,7 @@
  */
 
 /**
- * If the given cache ID does not exist.
+ * Exception that is thrown if the given cache ID does not exist.
  *
  * @package Cache
  * @version //autogen//
@@ -18,7 +18,7 @@
 {
     function __construct( $id )
     {
-        parent::__construct( 'No cache or cache configuration known with ID <' 
. $id . '>.' );
+        parent::__construct( "No cache or cache configuration known with ID 
<{$id}>." );
     }
 }
 ?>

Modified: packages/Cache/trunk/src/exceptions/invalid_location.php
===================================================================
--- packages/Cache/trunk/src/exceptions/invalid_location.php    2006-01-13 
15:09:47 UTC (rev 1838)
+++ packages/Cache/trunk/src/exceptions/invalid_location.php    2006-01-13 
15:12:04 UTC (rev 1839)
@@ -9,7 +9,7 @@
  */
 
 /**
- * Exception class to thrown if the given location is invalid (does not exist, 
is not a 
+ * Exception that is thrown if the given location is invalid (does not exist, 
is not a 
  * directory, is not writeable).
  *
  * @package Cache
@@ -19,7 +19,7 @@
 {
     function __construct( $location )
     {
-        parent::__construct( '<' . $location . '> is not a valid location for 
a ezcCache.' );
+        parent::__construct( "<{$location}> is not a valid location for a 
ezcCache." );
     }
 }
 ?>

Modified: packages/Cache/trunk/src/exceptions/invalid_storage_class.php
===================================================================
--- packages/Cache/trunk/src/exceptions/invalid_storage_class.php       
2006-01-13 15:09:47 UTC (rev 1838)
+++ packages/Cache/trunk/src/exceptions/invalid_storage_class.php       
2006-01-13 15:12:04 UTC (rev 1839)
@@ -9,7 +9,7 @@
  */
 
 /**
- * Exception class to thrown when an invalid storage class is used.
+ * Exception that is thrown when an invalid storage class is used.
  *
  * @package Cache
  * @version //autogen//
@@ -18,7 +18,7 @@
 {
     function __construct( $storageClass )
     {
-        parent::__construct( '<' . $storageClass . '> is not a valid storage 
class. Storage classes must extend ezcCacheStorage.' );
+        parent::__construct( "<{$storageClass}> is not a valid storage class. 
Storage classes must extend ezcCacheStorage." );
     }
 }
 ?>

Modified: packages/Cache/trunk/src/exceptions/used_location.php
===================================================================
--- packages/Cache/trunk/src/exceptions/used_location.php       2006-01-13 
15:09:47 UTC (rev 1838)
+++ packages/Cache/trunk/src/exceptions/used_location.php       2006-01-13 
15:12:04 UTC (rev 1839)
@@ -9,7 +9,7 @@
  */
 
 /**
- * Exception class to thrown when a given location is already in use.
+ * Exception that is thrown when a given location is already in use.
  *
  * @package Cache
  * @version //autogen//
@@ -18,7 +18,7 @@
 {
     function __construct( $location, $cacheId )
     {
-        parent::__construct( 'Location <' . $location . '> already in use by 
cache with ID <' . $cacheId . '>.' );
+        parent::__construct( "Location <{$location}> is already in use by 
cache with ID <{$cacheId}>." );
     }
 }
 ?>

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

Reply via email to