OXID eShop CE  4.10.5
 All Classes Namespaces Files Functions Variables Pages
oxSystemComponentException Class Reference
+ Inheritance diagram for oxSystemComponentException:
+ Collaboration diagram for oxSystemComponentException:

Public Member Functions

 setComponent ($sComponent)
 getComponent ()
 getString ()
 getValues ()
- Public Member Functions inherited from oxException
 __construct ($sMessage="not set", $iCode=0)
 setLogFileName ($sFile)
 getLogFileName ()
 setMessage ($sMessage)
 setRenderer ()
 isRenderer ()
 setNotCaught ()
 isNotCaught ()
 debugOut ()
 setDestination ($sDestination)

Private Attributes

 $_sComponent

Additional Inherited Members

- Protected Attributes inherited from oxException
 $_sFileName = 'EXCEPTION_LOG.txt'
 $_blRenderer = false
 $_blNotCaught = false

Detailed Description

exceptions for missing components e.g.:

  • missing class
  • missing function
  • missing template
  • missing field in object

Definition at line 10 of file oxsystemcomponentexception.php.

Member Function Documentation

oxSystemComponentException::getComponent ( )

Name of the component that caused the exception

Returns
string

Definition at line 35 of file oxsystemcomponentexception.php.

oxSystemComponentException::getString ( )

Get string dump Overrides oxException::getString()

Returns
string

Reimplemented from oxException.

Definition at line 46 of file oxsystemcomponentexception.php.

oxSystemComponentException::getValues ( )

Creates an array of field name => field value of the object. To make a easy conversion of exceptions to error messages possible. Should be extended when additional fields are used! Overrides oxException::getValues().

Returns
array

Reimplemented from oxException.

Definition at line 59 of file oxsystemcomponentexception.php.

oxSystemComponentException::setComponent (   $sComponent)

Sets the component name which caused the exception as a string.

Parameters
string$sComponentname of component

Definition at line 25 of file oxsystemcomponentexception.php.

Member Data Documentation

oxSystemComponentException::$_sComponent
private

Definition at line 18 of file oxsystemcomponentexception.php.


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