SoundError Class Reference

#include <sound_error.hpp>

Inherits std::exception.

List of all members.

Public Member Functions

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

Private Attributes

std::string message


Detailed Description

Definition at line 22 of file sound_error.hpp.


Constructor & Destructor Documentation

SoundError::SoundError ( const std::string &  message  )  throw ()

Definition at line 19 of file sound_error.cpp.

00019                                                         :
00020   message(message_)
00021 {
00022 }

SoundError::~SoundError (  )  throw () [virtual]

Definition at line 24 of file sound_error.cpp.

00025 {}


Member Function Documentation

const char * SoundError::what (  )  const throw ()

Definition at line 28 of file sound_error.cpp.

References message.

00029 {
00030   return message.c_str();
00031 }


Member Data Documentation

std::string SoundError::message [private]

Definition at line 30 of file sound_error.hpp.

Referenced by what().


The documentation for this class was generated from the following files:
Generated on Mon Jun 9 03:38:36 2014 for SuperTux by  doxygen 1.5.1