Changeset 1898
- Timestamp:
- 10/24/08 12:28:32 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework/trunk/src/main/php/net/stubbles/rdbms/persistence/serializer/stubDatabaseSerializer.php
r1896 r1898 6 6 * @package stubbles 7 7 * @subpackage rdbms_persistence_serializer 8 * @version $Id$ 8 9 */ 9 10 stubClassLoader::load('net::stubbles::lang::types::stubDate', … … 64 65 * @param stubDatabaseConnection $connection connection to use for finding the data 65 66 * @param bool $refresh optional set to true to recreate the instance 66 * @return stubDatabase Finder67 * @return stubDatabaseSerializer 67 68 */ 68 69 public static function getInstance(stubDatabaseConnection $connection, $refresh = false) … … 78 79 * cloning is forbidden 79 80 * 80 * @throws stubDatabase FinderException81 * @throws stubDatabaseSerializerException 81 82 */ 82 83 protected final function __clone() 83 84 { 84 throw new stubDatabase FinderException('Cloning ' . $this->getClassName() . ' is not allowed.');85 throw new stubDatabaseSerializerException('Cloning ' . $this->getClassName() . ' is not allowed.'); 85 86 } 86 87
