oxExceptionToDisplay Class Reference

Inheritance diagram for oxExceptionToDisplay:

Inheritance graph
[legend]
Collaboration diagram for oxExceptionToDisplay:

Collaboration graph
[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  ) 

Stack trace setter

Parameters:
string $sStackTrace stack trace
Returns:
null

Definition at line 51 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.getStackTrace (  ) 

Returns stack trace

Returns:
string

Definition at line 61 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.setValues ( aValues  ) 

Sets oxExceptionToDisplay._aValues value

Parameters:
array $aValues exception values to store
Returns:
null

Definition at line 73 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.addValue ( sName,
sValue 
)

Stores into exception storage message or other value

Parameters:
string $sName storage name
mixed $sValue value to store
Returns:
null

Definition at line 86 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.setExceptionType ( sType  ) 

Exception type setter

Parameters:
string $sType exception type
Returns:
null

Definition at line 98 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.getErrorClassType (  ) 

Returns error class type

Returns:
string

Implements oxDisplayErrorInterface.

Definition at line 108 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.getValue ( sName  ) 

Returns exception stored (by name) value

Parameters:
string $sName storage name
Returns:
mixed

Implements oxDisplayErrorInterface.

Definition at line 120 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.setDebug ( bl  ) 

Exception debug mode setter

Parameters:
bool $bl if TRUE debug mode on
Returns:
null

Definition at line 132 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.setMessage ( sMessage  ) 

Exception message setter

Parameters:
string $sMessage exception message
Returns:
null

Definition at line 144 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.getOxMessage (  ) 

Returns translated exception message

Returns:
string

Implements oxDisplayErrorInterface.

Definition at line 154 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.__toString (  ) 

When exception is converted as string, this magic method return exception message

Returns:
string

Definition at line 164 of file oxexceptiontodisplay.php.


Member Data Documentation

oxExceptionToDisplay.$_sMessage [private]

Definition at line 14 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.$_blDebug = false [protected]

Definition at line 21 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.$_sStackTrace [private]

Definition at line 28 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.$_aValues [private]

Definition at line 35 of file oxexceptiontodisplay.php.

oxExceptionToDisplay.$_sType [private]

Definition at line 42 of file oxexceptiontodisplay.php.


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

Generated on Wed Apr 22 12:31:23 2009 for OXID eShop CE by  doxygen 1.5.5