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

Public Member Functions

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

Private Attributes

 $sMessage
 $blDebug = false
 $sStackTrace
 $aValues
 $sType

Member Function Documentation

oxExceptionToDisplay.setStackTrace ( sStackTrace  ) 

oxExceptionToDisplay.getStackTrace (  ) 

oxExceptionToDisplay.setValues ( aValues  ) 

oxExceptionToDisplay.addValue ( sName,
sValue 
)

oxExceptionToDisplay.setExceptionType ( sType  ) 

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.

oxExceptionToDisplay.getValue ( sName  ) 

Possibility to access additional values

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

Implements oxDisplayErrorInterface.

oxExceptionToDisplay.setDebug ( bl  ) 

oxExceptionToDisplay.setMessage ( sMessage  ) 

oxExceptionToDisplay.getOxMessage (  ) 

This method should return a localized message for displaying

Returns:
a string to display to the user

Implements oxDisplayErrorInterface.

oxExceptionToDisplay.__toString (  ) 


Member Data Documentation

oxExceptionToDisplay.$sMessage [private]

oxExceptionToDisplay.$blDebug = false [private]

oxExceptionToDisplay.$sStackTrace [private]

oxExceptionToDisplay.$aValues [private]

oxExceptionToDisplay.$sType [private]


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

Generated on Wed Oct 29 23:44:23 2008 for OXID eShop CE by  doxygen 1.5.5