#include <wav_writer.h>
Public Methods | |
| CWAVWriterException () | |
| Constructs an exception without information on the reason. | |
| CWAVWriterException (int nReason) | |
| Constructs an exception with the specified reason. | |
| CWAVWriterException (int nReason, const std::string &sHint) | |
| Constructs an exception with the specified reason and a hint. | |
| int | GetReason () const |
| Returns the reason of the exception. | |
| std::string | GetHint () const |
| Returns a hint for the exception (if present). | |
| std::string | GetString () const |
| Returns a describing string of the exception with hint if present. | |
CWAVWriterException is thrown by the class CWAVWriter if an error occurs in a function of CWAVWriter. Catch this exception to retrieve information on the reason of the exception.
Definition at line 35 of file wav_writer.h.
|
|
Returns a describing string of the exception with hint if present.
Definition at line 36 of file wav_writer.cpp. |
|
|
Initial value:
{
"No error",
"File could not be created",
"No file was openend",
"Could not write to file",
"Invalid format",
"Format not supported"
}Definition at line 19 of file wav_writer.cpp. |
1.2.18