Console_Application
[ class tree: Console_Application ] [ index: Console_Application ] [ all elements ]

Class: Console_Exception

Source Location: /library/Console/Exception.php

Class Overview

Exception
   |
   --Console_Exception

Main exception calss.


Author(s):

Copyright:

  • Copyright (c) 2009 Sven Strittmatter

Methods


Child classes:

Console_Exception_MissingParameter
Class for running a Console_Application_Abstract-Script.

Inherited Variables

Class: Exception (Internal Class)

$code
$file
$line
$message
$string
$trace

Inherited Methods

Class: Exception (Internal Class)

constructor __construct ( [$message = ], [$code = ] )
getCode ( )
getFile ( )
getLine ( )
getMessage ( )
getTrace ( )
getTraceAsString ( )
__clone ( )
__toString ( )

Class Details

[line 29]
Main exception calss.



Tags:

copyright:  Copyright (c) 2009 Sven Strittmatter
usedby:  Console_Loader
usedby:  Console_Exception_MissingParameter
usedby:  Console_Application
usedby:  Console_Deamon_Abstract
usedby:  Console_Application_Abstract
uses:  Exception
usedby:  HelloWorldApplication


[ Top ]


Class Methods


constructor __construct [line 30]

Console_Exception __construct( $message, [ $code = 0])



Tags:

access:  public


Overridden in child classes as:

Console_Exception_MissingParameter::__construct()

Overrides Exception::constructor __construct ( [$message = ], [$code = ] ) (parent method not documented)

Parameters:

   $message  
   $code  

[ Top ]

method __toString [line 40]

void __toString( )

Formats the excpetion so we can echo it direct to the CLI.



Tags:

access:  public


Overridden in child classes as:

Console_Exception_MissingParameter::__toString()

Overrides Exception::__toString ( ) (parent method not documented)

[ Top ]


Documentation generated on Mon, 17 Aug 2009 15:52:35 +0200 by phpDocumentor 1.4.2