Changeset 1898

Show
Ignore:
Timestamp:
10/24/08 12:28:32 (2 months ago)
Author:
mikey
Message:

fix api doc, use correct exception

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework/trunk/src/main/php/net/stubbles/rdbms/persistence/serializer/stubDatabaseSerializer.php

    r1896 r1898  
    66 * @package     stubbles 
    77 * @subpackage  rdbms_persistence_serializer 
     8 * @version     $Id$ 
    89 */ 
    910stubClassLoader::load('net::stubbles::lang::types::stubDate', 
     
    6465     * @param   stubDatabaseConnection  $connection  connection to use for finding the data 
    6566     * @param   bool                    $refresh     optional  set to true to recreate the instance 
    66      * @return  stubDatabaseFinder 
     67     * @return  stubDatabaseSerializer 
    6768     */ 
    6869    public static function getInstance(stubDatabaseConnection $connection, $refresh = false) 
     
    7879     * cloning is forbidden 
    7980     * 
    80      * @throws  stubDatabaseFinderException 
     81     * @throws  stubDatabaseSerializerException 
    8182     */ 
    8283    protected final function __clone() 
    8384    { 
    84         throw new stubDatabaseFinderException('Cloning ' . $this->getClassName() . ' is not allowed.'); 
     85        throw new stubDatabaseSerializerException('Cloning ' . $this->getClassName() . ' is not allowed.'); 
    8586    } 
    8687