CGVIS Utils
Loading...
Searching...
No Matches
ImageLoader::Exception Class Reference

Exception type thrown by ImageLoader on failures. More...

#include <ImageLoader.h>

Inheritance diagram for ImageLoader::Exception:
[legend]
Collaboration diagram for ImageLoader::Exception:
[legend]

Public Member Functions

 Exception (const std::string &whatStr)
 Construct with an explanatory message.
virtual const char * what () const throw ()
 Retrieve the explanatory string.

Detailed Description

Exception type thrown by ImageLoader on failures.

Used to signal I/O and decoding errors originating from the underlying stb_image calls or from invalid inputs.

Constructor & Destructor Documentation

◆ Exception()

ImageLoader::Exception::Exception ( const std::string & whatStr)
inline

Construct with an explanatory message.

Parameters
whatStrHuman-readable description.

Member Function Documentation

◆ what()

virtual const char * ImageLoader::Exception::what ( ) const
throw ( )
inlinevirtual

Retrieve the explanatory string.

Returns
NUL-terminated message string.

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