|
guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
|
Thrown by ComponentRegistry::getComponent when the entity has no component of the requested type. More...
#include <headers/guillaume/ecs/component_registry.hpp>


Public Member Functions | |
| EntityComponentNotFoundException (const Entity::Identifier &entityIdentifier) | |
| Build the exception and its message. | |
| const char * | what (void) const noexcept override |
| Get the exception message. | |
Thrown by ComponentRegistry::getComponent when the entity has no component of the requested type.
The message names the component type and the entity identifier. Call ComponentRegistry::hasComponent first when the component is optional.
| ComponentType | The type of the missing component. |
Definition at line 54 of file component_registry.hpp.
| guillaume::ecs::EntityComponentNotFoundException< ComponentType >::EntityComponentNotFoundException | ( | const Entity::Identifier & | entityIdentifier | ) |
Build the exception and its message.
| entityIdentifier | The identifier of the entity that lacks the component. |
|
overridenoexcept |
Get the exception message.