HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
|
raised when a feature is not supported on the current platform, environment, class, or method. More...
#include <NotSupportedException.h>
Public Member Functions | |
NotSupportedException () | |
NotSupportedException (const std::string &method, const std::string &message) | |
virtual std::string | GetName () const override |
Public Member Functions inherited from Heph::Exception | |
Exception () | |
Exception (const std::string &method, const std::string &message) | |
virtual | ~Exception ()=default |
virtual const char * | what () const noexcept override |
virtual const std::string & | GetMethod () const |
virtual const std::string & | GetMessage () const |
virtual void | Raise (const void *pSender) const |
Protected Member Functions | |
virtual void | AddToExceptions () const override |
Additional Inherited Members | |
Static Public Member Functions inherited from Heph::Exception | |
static std::shared_ptr< Exception > | GetLastException () noexcept |
static std::vector< std::shared_ptr< Exception > > & | GetExceptions () noexcept |
static void | DefaultHandler (const EventParams ¶ms) |
Static Public Attributes inherited from Heph::Exception | |
static Event | OnException = Event() |
Protected Attributes inherited from Heph::Exception | |
std::string | method |
std::string | message |
raised when a feature is not supported on the current platform, environment, class, or method.
Heph::NotSupportedException::NotSupportedException | ( | ) |
creates a new instance and initializes it with default values.
Heph::NotSupportedException::NotSupportedException | ( | const std::string & | method, |
const std::string & | message ) |
creates a new instance and initializes it with the provided values.
method | name of the method where the exception occurred. |
message | description of the exception. |
|
overridevirtual |
gets the human readable name of the exception.
Reimplemented from Heph::Exception.
|
overrideprotectedvirtual |
adds the exception to the thread local exceptions vector.
Reimplemented from Heph::Exception.