Cinder  0.9.1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cinder::audio::AudioExc Class Reference

#include <Exception.h>

Inherits cinder::Exception.

Inherited by cinder::audio::AudioContextExc, cinder::audio::AudioDeviceExc, cinder::audio::AudioFileExc, cinder::audio::AudioFormatExc, and cinder::audio::NodeCycleExc.

Public Member Functions

 AudioExc (const std::string &description, int32_t errorCode=0)
 
int32_t getCode () const
 
const char * what () const override throw ()
 

Protected Member Functions

void setDescription (const std::string &description)
 

Protected Attributes

std::string mDescription
 
int32_t mErrorCode
 

Detailed Description

General audio exception.

Constructor & Destructor Documentation

cinder::audio::AudioExc::AudioExc ( const std::string &  description,
int32_t  errorCode = 0 
)

Member Function Documentation

int32_t cinder::audio::AudioExc::getCode ( ) const

Returns a platform-specific error code. Could return 0 (meaning none was available).

const char* cinder::Exception::what ( ) const
throw (
)
overrideinherited
void cinder::Exception::setDescription ( const std::string &  description)
protectedinherited

Member Data Documentation

std::string cinder::audio::AudioExc::mDescription
protected
int32_t cinder::audio::AudioExc::mErrorCode
protected

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