spunQ_BadArgumentCountError Class Reference

Thrown if a magic function was called with the wrong number of parameters. More...

Inheritance diagram for spunQ_BadArgumentCountError:

spunQ_LocalizedError spunQ_Error spunQ_Exception

List of all members.

Public Member Functions

 __construct ($className, $functionName, $argumentCount)
 Constructor.
 getExtendedMessage ()
 Will retrieve the localized message.
 prettyPrint ($useHtml=false)
 Prints a nice error message including backtrace.
 prettyPrintHtml ()
 Prints a nice error message including backtrace - in html.
 printBacktrace ($indent=NULL)
 Prints the backtrace of this exception.
 getBacktrace ()
 Fetches the backtrace of this exception.

Protected Attributes

 $translationKey
 The key that will be used to create the localized message.
 $translationParameters
 The translation parameters as required by spunQ_Language::translate().
 $localizedParameters = array()
 Parameters that need to be localized.
 $backtrace = NULL
 The backtrace of this exception.


Detailed Description

Thrown if a magic function was called with the wrong number of parameters.

Definition at line 6 of file BadArgumentCountError.error.php.


Constructor & Destructor Documentation

spunQ_BadArgumentCountError::__construct ( className,
functionName,
argumentCount 
)

Constructor.

Parameters:
$className The name of the class of the object that caused this exception.
$functionName The name of the function that was called.
$argumentCount The number of arguments that were passed to the function.

Definition at line 14 of file BadArgumentCountError.error.php.


Member Function Documentation

spunQ_Exception::getBacktrace (  )  [inherited]

Fetches the backtrace of this exception.

Returns:
spunQ.util.Backtrace

Definition at line 91 of file Exception.exception.php.

spunQ_LocalizedError::getExtendedMessage (  )  [inherited]

Will retrieve the localized message.

Returns:
string

Reimplemented from spunQ_Exception.

Definition at line 44 of file LocalizedError.error.php.

spunQ_Exception::prettyPrint ( useHtml = false  )  [inherited]

Prints a nice error message including backtrace.

Parameters:
$useHtml Whether to generate html text. Will cause prettyPrintHtml() to be called.
Returns:
spunQ_Exception $this

Definition at line 45 of file Exception.exception.php.

spunQ_Exception::prettyPrintHtml (  )  [inherited]

Prints a nice error message including backtrace - in html.

Returns:
spunQ_Exception $this

Definition at line 63 of file Exception.exception.php.

spunQ_Exception::printBacktrace ( indent = NULL  )  [inherited]

Prints the backtrace of this exception.

Parameters:
$indent The string to prepend to every line. Will be passed to spunQ_Backtrace::toString().
Returns:
spunQ_Exception $this

Definition at line 82 of file Exception.exception.php.


Member Data Documentation

spunQ_Exception::$backtrace = NULL [protected, inherited]

The backtrace of this exception.

Type:
spunQ.util.Backtrace

Definition at line 12 of file Exception.exception.php.

spunQ_LocalizedError::$localizedParameters = array() [protected, inherited]

Parameters that need to be localized.

This array contains indexes of the $translationParameters array.

Type:
array<string>

Definition at line 25 of file LocalizedError.error.php.

spunQ_LocalizedError::$translationKey [protected, inherited]

The key that will be used to create the localized message.

Type:
string

Definition at line 12 of file LocalizedError.error.php.

spunQ_LocalizedError::$translationParameters [protected, inherited]

The translation parameters as required by spunQ_Language::translate().

Type:
array<string>

Definition at line 18 of file LocalizedError.error.php.


The documentation for this class was generated from the following file:

Generated on Fri Jul 1 11:12:38 2011 for spunQ3 by  doxygen 1.5.9