Audaspace 1.5.0
A high level audio library.
Loading...
Searching...
No Matches
Classes | Macros
Exception.h File Reference

Defines the Exception class as well as the AUD_THROW macro for easy throwing. More...

#include "Audaspace.h"
#include <exception>
#include <string>
Include dependency graph for Exception.h:

Go to the source code of this file.

Classes

class  Exception
 The Exception class is the general exception base class. More...
 
class  FileException
 The FileException class is used for error cases in which files cannot be read or written due to unknown containers or codecs. More...
 
class  DeviceException
 The DeviceException class is used for error cases in connection with devices, which usually happens when specific features or requests cannot be fulfilled by a device, for example when the device is opened. More...
 
class  StateException
 The StateException class is used for error cases of sounds or readers with illegal states or requirements for states of dependent classes. More...
 

Macros

#define AUD_NOEXCEPT   noexcept
 Compatibility macro for noexcept.
 
#define AUD_THROW(exception, message)   { throw exception(message, __FILE__, __LINE__); }
 Throws a Exception with the provided error code.
 

Detailed Description

Defines the Exception class as well as the AUD_THROW macro for easy throwing.