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::UnsupportedFormatException Class Reference

#include <Exceptions.h>

Inheritance diagram for Audio::UnsupportedFormatException:
Audio::Exception

Public Member Functions

 UnsupportedFormatException (const std::string &where, const Format &fmt)
 
const FormatgetFormat () const throw ()
 
- Public Member Functions inherited from Audio::Exception
 Exception ()
 
 Exception (const Exception &other)
 
 Exception (const std::string &message)
 
virtual ~Exception () throw ()
 
virtual const char * what () const throw ()
 

Detailed Description

Unsupported format requested

Definition at line 163 of file Exceptions.h.

Constructor & Destructor Documentation

Audio::UnsupportedFormatException::UnsupportedFormatException ( const std::string &  where,
const Format fmt 
)
inlineexplicit

Definition at line 166 of file Exceptions.h.

166  :
167  Exception(std::string("Unsupported format (" + where + ")")),
168  format(fmt)
169  {}

Member Function Documentation

const Format& Audio::UnsupportedFormatException::getFormat ( ) const
throw (
)
inline

Definition at line 171 of file Exceptions.h.

171 { return format; }

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