Skip to content

Internals Object Exceptions ObjectHandlerException

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

object\exceptions\ObjectHandlerException

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/object/exceptions/ObjectHandlerException.php · Snapshot 8411f4287706.

ObjectFactory configures lazy instances by file/class, constructor arguments, properties and ordered method calls. ObjectHandler chooses a concrete class declared by a file.

Imports and dependencies

use exception\ExceptionBase;

ObjectHandlerException

Declaration and architectural role

class ObjectHandlerException extends ExceptionBase

Constants, enum cases, traits and properties

No own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.

Method index

Method Signature
buildMessage public function buildMessage(): string

buildMessage

Source line 9

public function buildMessage(): string

Return expressions (including local callbacks): "Object Handler Exception: There was an error creating the object. Within {$this->context->contextName}.".

Implementation, validation guards and interaction order
public function buildMessage(): string
    {
        return "Object Handler Exception: There was an error creating the object. Within {$this->context->contextName}.";
    }

Related types

Clone this wiki locally