Class FLAMEGPUException
Defined in File FLAMEGPUException.h
Inheritance Relationships
Base Type
public std::exception
Class Documentation
-
class FLAMEGPUException : public std::exception
Base class for exceptions thrown
Public Functions
-
FLAMEGPUException()
Constructs the FLAMEGPUException object.
A constructor
Note
Attempts to append ‘FILE (LINE): ‘ to err_message
-
const char *what() const noexcept override
Returns the explanatory string.
- Returns:
Pointer to a nullptr-terminated string with explanatory information. The pointer is guaranteed to be valid at least until the exception object from which it is obtained is destroyed, or until a non-const member function on the FLAMEGPUException object is called.
-
virtual const char *exception_type() const = 0
Public Static Functions
-
static void setLocation(const char *_file, unsigned int _line)
Sets internal members file and line, which are used by constructor
Protected Attributes
-
std::string err_message
Protected Static Functions
-
static std::string parseArgs(const char *format, va_list argp)
Parses va_list to a string using vsnprintf
-
FLAMEGPUException()