26 #define AUD_NOEXCEPT noexcept 41 #define AUD_THROW(exception, message) { throw exception(message, __FILE__, __LINE__); } 72 Exception(std::string message, std::string file,
int line);
89 virtual std::
string getDebugMessage() const;
95 const std::
string& getMessage() const;
101 const std::
string& getFile() const;
123 FileException(std::string message, std::string file,
int line);
const std::string m_message
A message describing the problem.
Definition: Exception.h:52
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
#define AUD_NOEXCEPT
Compatibility macro for noexcept.
Definition: Exception.h:26
The DeviceException class is used for error cases in connection with devices, which usually happens w...
Definition: Exception.h:139
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
The FileException class is used for error cases in which files cannot be read or written due to unkno...
Definition: Exception.h:114
const int m_line
The source code line from which the exception was thrown.
Definition: Exception.h:58
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
The Exception class is the general exception base class.
Definition: Exception.h:48
const std::string m_file
The source code file in which the exception was thrown.
Definition: Exception.h:55
The main header file of the library defining the namespace and basic data types.
The StateException class is used for error cases of sounds or readers with illegal states or requirem...
Definition: Exception.h:165