Mockbird
Interface Libarary and Synthesizer Setup Tool for Mockingbird-OTTO
Loading...
Searching...
No Matches
Soundscape::Exception Class Reference

(internal) base exception class for Soundscape exceptions. More...

#include <sndexcpt.h>

Inheritance diagram for Soundscape::Exception:
Soundscape::AutoConfigError Soundscape::CardNotInitialized Soundscape::CardNotPresent Soundscape::FwError Soundscape::NewFirmware Soundscape::Timeout Soundscape::UnexpectedEvent

Public Member Functions

virtual const char * what () const
 Returns a user-readable message describing the exceptional condition.
 

Protected Member Functions

 Exception (const char *format,...)
 printf-style exception constructor.
 

Detailed Description

(internal) base exception class for Soundscape exceptions.

Do not catch Exception. Catch std::exception if you want to catch all, or specific derived exceptions if you want to catch specific errors. Soundscape methods may throw other exceptions derived from std::exception as well.

Constructor & Destructor Documentation

◆ Exception()

Soundscape::Exception::Exception ( const char * format,
... )
protected

printf-style exception constructor.

Constructs an exception with a fixed 80-character error message buffer using sprintf.

Parameters
formatprintf-style format string
...items for the format string

Member Function Documentation

◆ what()

virtual const char * Soundscape::Exception::what ( ) const
virtual

Returns a user-readable message describing the exceptional condition.

Returns
error message

The documentation for this class was generated from the following file: