spunQ_ExternalApplicationFailureException Class Reference

Thrown when an operation on an external application fails. More...

Inheritance diagram for spunQ_ExternalApplicationFailureException:

spunQ_LocalizedException spunQ_Exception

List of all members.

Public Member Functions

 __construct ($message)
 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 when an operation on an external application fails.

Definition at line 6 of file ExternalApplicationFailureException.exception.php.


Constructor & Destructor Documentation

spunQ_ExternalApplicationFailureException::__construct ( message  ) 

Constructor.

Parameters:
$message The message further describing this exception

Reimplemented from spunQ_Exception.

Definition at line 12 of file ExternalApplicationFailureException.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:40 2011 for spunQ3 by  doxygen 1.5.9