Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Audio::Exception Class Reference

#include <Exceptions.h>

Inheritance diagram for Audio::Exception:
Audio::CodecNotFoundException Audio::CorruptStreamException Audio::DuplicateObjectException Audio::EndOfStreamException Audio::FileFormatException Audio::FileOpenException Audio::InvalidParametersException Audio::NotFoundException Audio::NotImplementedException Audio::OutOfMemoryException Audio::ResourceAlreadyLoadedException Audio::ResourceNotLoadedException Audio::Stream::NoBufferException Audio::UnsupportedFormatException

Public Member Functions

 Exception ()
 
 Exception (const Exception &other)
 
 Exception (const std::string &message)
 
virtual ~Exception () throw ()
 
virtual const char * what () const throw ()
 

Detailed Description

Base exception class

See Also
std::exception

Definition at line 19 of file Exceptions.h.

Constructor & Destructor Documentation

Audio::Exception::Exception ( )
inline

Definition at line 25 of file Exceptions.h.

25 {};
Audio::Exception::Exception ( const Exception other)
inline

Definition at line 26 of file Exceptions.h.

26 : _message(other._message) {}
Audio::Exception::Exception ( const std::string &  message)
inlineexplicit

Definition at line 27 of file Exceptions.h.

27 : _message(message) {}
virtual Audio::Exception::~Exception ( )
throw (
)
inlinevirtual

Definition at line 28 of file Exceptions.h.

28 {}

Member Function Documentation

virtual const char* Audio::Exception::what ( ) const
throw (
)
inlinevirtual

Definition at line 29 of file Exceptions.h.

Referenced by Audio::Test::main(), and Audio::RenderableSource::update().

29 { return _message.c_str(); }

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