Show
Ignore:
Timestamp:
11/11/07 15:24:40 (1 year ago)
Author:
mikey
Message:

ported to PHP 5.3.0-dev using namespaces
examples, integration tests and star build do not work at the moment

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/XJConf/exceptions/InvalidNamespaceDefinitionException.php

    r9 r115  
    33 * Exception to be thrown in case that an invalid namespace definition was detected. 
    44 * 
    5  * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
     5 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     6 * @author      Frank Kleine <mikey@xjconf.net> 
     7 * @package     XJConf 
     8 * @subpackage  exceptions 
    69 */ 
    7 XJConfLoader::load('exceptions.XJConfException')
     10namespace net::xjconf::exceptions
    811/** 
    912 * Exception to be thrown in case that an invalid namespace definition was detected. 
    1013 * 
    11  * @package  XJConf 
     14 * @package     XJConf 
     15 * @subpackage  exceptions 
    1216 */ 
    1317class InvalidNamespaceDefinitionException extends XJConfException 
  • trunk/XJConf/exceptions/InvalidTagDefinitionException.php

    r9 r115  
    33 * Exception to be thrown in case that an invalid tag definition was detected. 
    44 * 
    5  * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
     5 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     6 * @author      Frank Kleine <mikey@xjconf.net> 
     7 * @package     XJConf 
     8 * @subpackage  exceptions 
    69 */ 
    7 XJConfLoader::load('exceptions.XJConfException')
     10namespace net::xjconf::exceptions
    811/** 
    912 * Exception to be thrown in case that an invalid tag definition was detected. 
    1013 * 
    11  * @package  XJConf 
     14 * @package     XJConf 
     15 * @subpackage  exceptions 
    1216 */ 
    1317class InvalidTagDefinitionException extends XJConfException 
  • trunk/XJConf/exceptions/MissingAttributeException.php

    r9 r115  
    33 * Exception to be thrown in case that an required attribute is missing. 
    44 * 
    5  * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
     5 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     6 * @author      Frank Kleine <mikey@xjconf.net> 
     7 * @package     XJConf 
     8 * @subpackage  exceptions 
    69 */ 
    7 XJConfLoader::load('exceptions.XJConfException')
     10namespace net::xjconf::exceptions
    811/** 
    912 * Exception to be thrown in case that an required attribute is missing. 
    1013 * 
    11  * @package  XJConf 
     14 * @package     XJConf 
     15 * @subpackage  exceptions 
    1216 */ 
    1317class MissingAttributeException extends XJConfException 
  • trunk/XJConf/exceptions/UnknownNamespaceException.php

    r9 r115  
    33 * Exception to be thrown in case that an unknown namespace definition was detected. 
    44 * 
    5  * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
     5 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     6 * @author      Frank Kleine <mikey@xjconf.net> 
     7 * @package     XJConf 
     8 * @subpackage  exceptions 
    69 */ 
    7 XJConfLoader::load('exceptions.XJConfException')
     10namespace net::xjconf::exceptions
    811/** 
    912 * Exception to be thrown in case that an unknown namespace definition was detected. 
    1013 * 
    11  * @package  XJConf 
     14 * @package     XJConf 
     15 * @subpackage  exceptions 
    1216 */ 
    1317class UnknownNamespaceException extends XJConfException 
  • trunk/XJConf/exceptions/UnknownTagException.php

    r9 r115  
    33 * Exception to be thrown in case that an unknown tag definition was detected. 
    44 * 
    5  * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
     5 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     6 * @author      Frank Kleine <mikey@xjconf.net> 
     7 * @package     XJConf 
     8 * @subpackage  exceptions 
    69 */ 
    7 XJConfLoader::load('exceptions.XJConfException')
     10namespace net::xjconf::exceptions
    811/** 
    912 * Exception to be thrown in case that an unknown tag definition was detected. 
    1013 * 
    11  * @package  XJConf 
     14 * @package     XJConf 
     15 * @subpackage  exceptions 
    1216 */ 
    1317class UnknownTagException extends XJConfException 
  • trunk/XJConf/exceptions/UnsupportedOperationException.php

    r9 r115  
    33 * Exception to be thrown in case that a method was called that should not be called. 
    44 * 
    5  * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
     5 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     6 * @author      Frank Kleine <mikey@xjconf.net> 
     7 * @package     XJConf 
     8 * @subpackage  exceptions 
    69 */ 
    7 XJConfLoader::load('exceptions.XJConfException')
     10namespace net::xjconf::exceptions
    811/** 
    912 * Exception to be thrown in case that a method was called that should not be called. 
    1013 * 
    11  * @package  XJConf 
     14 * @package     XJConf 
     15 * @subpackage  exceptions 
    1216 */ 
    1317class UnsupportedOperationException extends XJConfException 
  • trunk/XJConf/exceptions/ValueConversionException.php

    r9 r115  
    33 * Exception to be thrown in case that a value conversion failed. 
    44 * 
    5  * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
     5 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     6 * @author      Frank Kleine <mikey@xjconf.net> 
     7 * @package     XJConf 
     8 * @subpackage  exceptions 
    69 */ 
    7 XJConfLoader::load('exceptions.XJConfException')
     10namespace net::xjconf::exceptions
    811/** 
    912 * Exception to be thrown in case that a value conversion failed. 
    10  *  
    11  * @package  XJConf 
     13 * 
     14 * @package     XJConf 
     15 * @subpackage  exceptions 
    1216 */ 
    1317class ValueConversionException extends XJConfException 
  • trunk/XJConf/exceptions/XJConfException.php

    r9 r115  
    33 * Base esception for all other XJConf exceptions. 
    44 * 
    5  * @author  Stephan Schmidt <stephan.schmidt@schlund.de> 
     5 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     6 * @author      Frank Kleine <mikey@xjconf.net> 
     7 * @package     XJConf 
     8 * @subpackage  exceptions 
    69 */ 
     10namespace net::xjconf::exceptions; 
    711/** 
    812 * Base esception for all other XJConf exceptions. 
    913 * 
    10  * @package  XJConf 
     14 * @package     XJConf 
     15 * @subpackage  exceptions 
    1116 */ 
    12 class XJConfException extends Exception 
     17class XJConfException extends ::Exception 
    1318{ 
    1419    // nothing to do here