spunQ_ParentTypeStorageNotFoundException Class Reference

Thrown if the parent type storage of a type storage was not found. More...

Inheritance diagram for spunQ_ParentTypeStorageNotFoundException:

spunQ_DatabaseException spunQ_LocalizedException spunQ_Exception

List of all members.

Public Member Functions

 __construct ($name)
 Constructor.
 getExtendedMessage ()
 Will retrieve the localized message.
 getTranslationKey ()
 Returns the key used for localizing the message of this exception.
 getTranslationParameters ()
 Returns the parameters used for the localization of this exception.
 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 the parent type storage of a type storage was not found.

The most common reason for this to be thrown is when a type storage is being created and the parent type of the type to create the type storage for does not have a type storage of its own.

Definition at line 9 of file ParentTypeStorageNotFoundException.exception.php.


Constructor & Destructor Documentation

spunQ_ParentTypeStorageNotFoundException::__construct ( name  ) 

Constructor.

Parameters:
name of the type for which the parent type storage could not be found.

Reimplemented from spunQ_DatabaseException.

Definition at line 16 of file ParentTypeStorageNotFoundException.exception.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_LocalizedException::getExtendedMessage (  )  [inherited]

Will retrieve the localized message.

Returns:
string

Reimplemented from spunQ_Exception.

Definition at line 48 of file LocalizedException.exception.php.

spunQ_LocalizedException::getTranslationKey (  )  [inherited]

Returns the key used for localizing the message of this exception.

Returns:
string

Definition at line 73 of file LocalizedException.exception.php.

spunQ_LocalizedException::getTranslationParameters (  )  [inherited]

Returns the parameters used for the localization of this exception.

Returns:
array<string>

Definition at line 81 of file LocalizedException.exception.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_LocalizedException::$localizedParameters = array() [protected, inherited]

Parameters that need to be localized.

This array contains indexes of the $translationParameters array.

Type:
array<string>

Definition at line 27 of file LocalizedException.exception.php.

spunQ_LocalizedException::$translationKey [protected, inherited]

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

Type:
string

Definition at line 14 of file LocalizedException.exception.php.

spunQ_LocalizedException::$translationParameters [protected, inherited]

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

Type:
array<string>

Definition at line 20 of file LocalizedException.exception.php.


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

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