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

#include <Exceptions.h>

Inheritance diagram for Audio::DuplicateObjectException:
Audio::Exception

Public Member Functions

 DuplicateObjectException (const std::string &name)
 
- 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

Attempted to create an object that already existed

Definition at line 136 of file Exceptions.h.

Constructor & Destructor Documentation

Audio::DuplicateObjectException::DuplicateObjectException ( const std::string &  name)
inlineexplicit

Definition at line 138 of file Exceptions.h.

138  :
139  Exception(std::string("Object with name \"") + name + "\" already existed") {}

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