SF_Exception

Sonic Flow libsf Reference Guide

SF_Exception (const SF_Block* origin, const char* description);

The constructor of a SF_Exception. Used in throwing exceptions as follows: throw SF_Exception (block_ptr, "An error has happened"); The origin arbument indicates the block which is associated to the error and the description argument provides a textual description of the error for the user.

virtual ~SF_Exception ();

The destructor.

const SF_Block* origin;

The initiator of the exception or 0.

const char* description;

Textual information on the exception.


Last modified: Thu Dec 10 13:58:10 1998
jarno.seppanen@cs.tut.fi
Audio Research Group