oxExceptionToDisplay Class Reference

Inheritance diagram for oxExceptionToDisplay:
[legend]
Collaboration diagram for oxExceptionToDisplay:
[legend]

List of all members.


Detailed Description

simplified Exception classes for simply displaying errors saves resources when exception functionality is not needed

Definition at line 7 of file oxexceptiontodisplay.php.


Public Member Functions

 setStackTrace ($sStackTrace)
 getStackTrace ()
 setValues ($aValues)
 addValue ($sName, $sValue)
 setExceptionType ($sType)
 getErrorClassType ()
 getValue ($sName)
 setDebug ($bl)
 setMessage ($sMessage)
 getOxMessage ()
 __toString ()

Protected Attributes

 $_blDebug = false

Private Attributes

 $_sMessage
 $_sStackTrace
 $_aValues
 $_sType

Member Function Documentation

oxExceptionToDisplay.setStackTrace ( sStackTrace  ) 

Definition at line 45 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.getStackTrace (  ) 

Definition at line 50 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.setValues ( aValues  ) 

Definition at line 55 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.addValue ( sName,
sValue 
)

Definition at line 60 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.setExceptionType ( sType  ) 

Definition at line 65 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.getErrorClassType (  ) 

Returns a type of the error, e.g. the class of the exception or whatever class implemented this interface

Returns:
String of Error Type

Implements oxDisplayErrorInterface.

Definition at line 70 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.getValue ( sName  ) 

Possibility to access additional values

Parameters:
string $sName Value name
Returns:
an additional value (string) by its name

Implements oxDisplayErrorInterface.

Definition at line 75 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.setDebug ( bl  ) 

Definition at line 80 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.setMessage ( sMessage  ) 

Definition at line 85 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.getOxMessage (  ) 

This method should return a localized message for displaying

Returns:
a string to display to the user

Implements oxDisplayErrorInterface.

Definition at line 90 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.__toString (  ) 

Definition at line 95 of file oxexceptiontodisplay.php.


Member Data Documentation

oxExceptionToDisplay.$_sMessage [private]

Definition at line 15 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.$_blDebug = false [protected]

Definition at line 22 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.$_sStackTrace [private]

Definition at line 29 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.$_aValues [private]

Definition at line 36 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.$_sType [private]

Definition at line 43 of file oxexceptiontodisplay.php.


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

Generated on Thu Dec 4 12:05:26 2008 for OXID eShop CE by  doxygen 1.5.5