Infinity Engine v0.6.20
C++ API Documentation
Loading...
Searching...
No Matches
SystemException.hpp
1#pragma once
2
3#include <Infinity/Procedural/ProceduralSystem.hpp>
4#include <Infinity/Engine/BaseException.hpp>
5
7{
17 class INFINITY_API_PUBLIC SystemException : public Infinity::Engine::BaseException
18 {
19 public:
26 SystemException(const std::string& message, const ProceduralSystem* system);
27
33 const ProceduralSystem* getSystem() const noexcept;
34
35 protected:
36 const ProceduralSystem* _system;
37 };
38}
Base exception class for all Infinity Engine exceptions.
Definition BaseException.hpp:20
Main interface for a directed acyclic graph of procedural components.
Definition ProceduralSystem.hpp:58
Exception type for errors that occur within ProceduralSystem operations.
Definition SystemException.hpp:18
const ProceduralSystem * getSystem() const noexcept
Retrieves the system that caused the exception.
SystemException(const std::string &message, const ProceduralSystem *system)
Constructs a SystemException with a message and system reference.
Definition ComponentException.hpp:7