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

Public Member Functions

 setObject ($oObject)
 
 getObject ()
 
 getString ()
 

Protected Attributes

 $type = 'oxObjectException'
 

Private Attributes

 $_oObject
 

Detailed Description

e.g.:

  • not existing object
  • wrong type
  • ID not set

Member Function Documentation

◆ getObject()

OxidEsales\EshopCommunity\Core\Exception\ObjectException::getObject ( )

Get the object which caused the exception.

Returns
object

◆ getString()

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

Get string dump Overrides oxException::getString()

Returns
string

◆ setObject()

OxidEsales\EshopCommunity\Core\Exception\ObjectException::setObject (   $oObject)

Sets the object which caused the exception.

Parameters
object$oObjectexception object

Member Data Documentation

◆ $_oObject

OxidEsales\EshopCommunity\Core\Exception\ObjectException::$_oObject
private

◆ $type

OxidEsales\EshopCommunity\Core\Exception\ObjectException::$type = 'oxObjectException'
protected

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