Skip to content

LiteFX::Exception

The base class for exceptions thrown by the SDK.

Synopsis

Declared in <litefx/exceptions.hpp>

class Exception
    : public std::runtime_error

Base Classes

NameDescription
std::runtime_error

Type Aliases

Name
_Mybase

Member Functions

NameDescription
Exception [constructor]Constructors
~Exception [destructor] [virtual]Destructor
operator= Assignment operators
location Gets the source location that identifies where the exception has been thrown.
trace Gets the stack trace leading to the exception.

Protected Member Functions

NameDescription
Exception [constructor]Initializes the exception.

Derived Classes

NameDescription
ArgumentNotInitializedException An exception that is thrown, if a provided non-optional argument was not initialized.
ArgumentOutOfRangeException An exception that is thrown, if a provided argument is not within the expected range.
InvalidArgumentException An exception that is thrown, if a provided argument is not valid.
RuntimeException An exception that is thrown, if a requested operation could not be executed.