OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Core\Exception\SystemComponentException Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Core\Exception\SystemComponentException:
+ Collaboration diagram for OxidEsales\EshopCommunity\Core\Exception\SystemComponentException:

Public Member Functions

 setComponent ($sComponent)
 
 getComponent ()
 
 getString ()
 
 getValues ()
 

Protected Attributes

 $type = 'oxSystemComponentException'
 

Private Attributes

 $_sComponent
 

Detailed Description

exceptions for missing components e.g.:

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

Member Function Documentation

◆ getComponent()

OxidEsales\EshopCommunity\Core\Exception\SystemComponentException::getComponent ( )

Name of the component that caused the exception

Returns
string

◆ getString()

OxidEsales\EshopCommunity\Core\Exception\SystemComponentException::getString ( )

Get string dump Overrides oxException::getString()

Returns
string

◆ getValues()

OxidEsales\EshopCommunity\Core\Exception\SystemComponentException::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

◆ setComponent()

OxidEsales\EshopCommunity\Core\Exception\SystemComponentException::setComponent (   $sComponent)

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

Parameters
string$sComponentname of component

Member Data Documentation

◆ $_sComponent

OxidEsales\EshopCommunity\Core\Exception\SystemComponentException::$_sComponent
private

◆ $type

OxidEsales\EshopCommunity\Core\Exception\SystemComponentException::$type = 'oxSystemComponentException'
protected

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