Photon Common Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::RuntimeException Class Reference

General exception thrown on runtime error. More...

#include <exceptions.h>

Inheritance diagram for ph::RuntimeException:
ph::IOException ph::NumericException ph::FileIOError ph::FilesystemError ph::OverflowException

Public Member Functions

 RuntimeException (const std::string &message)
 
 RuntimeException (const char *message)
 
 ~RuntimeException () override=default
 
virtual std::string whatStr () const
 

Detailed Description

General exception thrown on runtime error.

Constructor & Destructor Documentation

◆ RuntimeException() [1/2]

ph::RuntimeException::RuntimeException ( const std::string & message)
explicit

◆ RuntimeException() [2/2]

ph::RuntimeException::RuntimeException ( const char * message)
explicit

◆ ~RuntimeException()

ph::RuntimeException::~RuntimeException ( )
inlineoverridedefault

Member Function Documentation

◆ whatStr()

std::string ph::RuntimeException::whatStr ( ) const
virtual

Reimplemented in ph::FileIOError, and ph::FilesystemError.


The documentation for this class was generated from the following files: