<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Audaspace: Exception.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Audaspace  <span id="projectnumber">1.3.0</span> </div> <div id="projectbrief">A high level audio library.</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#define-members">Macros</a> </div> <div class="headertitle"> <div class="title">Exception.h File Reference<div class="ingroups"><a class="el" href="group__general.html">General</a></div></div> </div> </div><!--header--> <div class="contents"> <p>Defines the <a class="el" href="classException.html" title="The Exception class is the general exception base class.">Exception</a> class as well as the AUD_THROW macro for easy throwing. <a href="#details">More...</a></p> <div class="textblock"><code>#include "<a class="el" href="Audaspace_8h_source.html">Audaspace.h</a>"</code><br /> <code>#include <exception></code><br /> <code>#include <string></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for Exception.h:</div> <div class="dyncontent"> <div class="center"><img src="Exception_8h__incl.png" border="0" usemap="#Exception_8h" alt=""/></div> <map name="Exception_8h" id="Exception_8h"> <area shape="rect" title="Defines the Exception class as well as the AUD_THROW macro for easy throwing." alt="" coords="121,5,215,32"/> <area shape="rect" href="Audaspace_8h.html" title="The main header file of the library defining the namespace and basic data types." alt="" coords="5,80,104,107"/> <area shape="rect" title=" " alt="" coords="128,80,208,107"/> <area shape="rect" title=" " alt="" coords="233,80,290,107"/> </map> </div> </div> <p><a href="Exception_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classException.html">Exception</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classException.html" title="The Exception class is the general exception base class.">Exception</a> class is the general exception base class. <a href="classException.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classFileException.html">FileException</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classFileException.html" title="The FileException class is used for error cases in which files cannot be read or written due to unkno...">FileException</a> class is used for error cases in which files cannot be read or written due to unknown containers or codecs. <a href="classFileException.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classDeviceException.html">DeviceException</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classDeviceException.html" title="The DeviceException class is used for error cases in connection with devices, which usually happens w...">DeviceException</a> 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. <a href="classDeviceException.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classStateException.html">StateException</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classStateException.html" title="The StateException class is used for error cases of sounds or readers with illegal states or requirem...">StateException</a> class is used for error cases of sounds or readers with illegal states or requirements for states of dependent classes. <a href="classStateException.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a3a4ff5e1a5656b18b9d99bc2fc1c6b63"><td class="memItemLeft" align="right" valign="top"><a id="a3a4ff5e1a5656b18b9d99bc2fc1c6b63"></a> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="Exception_8h.html#a3a4ff5e1a5656b18b9d99bc2fc1c6b63">AUD_NOEXCEPT</a>   noexcept</td></tr> <tr class="memdesc:a3a4ff5e1a5656b18b9d99bc2fc1c6b63"><td class="mdescLeft"> </td><td class="mdescRight">Compatibility macro for noexcept. <br /></td></tr> <tr class="separator:a3a4ff5e1a5656b18b9d99bc2fc1c6b63"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8659527260f6d0fcdb3a5bca7adcb815"><td class="memItemLeft" align="right" valign="top"><a id="a8659527260f6d0fcdb3a5bca7adcb815"></a> #define </td><td class="memItemRight" valign="bottom"><a class="el" href="Exception_8h.html#a8659527260f6d0fcdb3a5bca7adcb815">AUD_THROW</a>(exception, message)   { throw exception(message, __FILE__, __LINE__); }</td></tr> <tr class="memdesc:a8659527260f6d0fcdb3a5bca7adcb815"><td class="mdescLeft"> </td><td class="mdescRight">Throws a <a class="el" href="classException.html" title="The Exception class is the general exception base class.">Exception</a> with the provided error code. <br /></td></tr> <tr class="separator:a8659527260f6d0fcdb3a5bca7adcb815"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Defines the <a class="el" href="classException.html" title="The Exception class is the general exception base class.">Exception</a> class as well as the AUD_THROW macro for easy throwing. </p> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.15 </small></address> </body> </html>