libopenmpt  0.2.10496
cross-platform C++ and C library to decode tracked music files
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
openmpt::exception Class Reference

libopenmpt exception base class More...

#include <libopenmpt/libopenmpt.hpp>

Inheritance diagram for openmpt::exception:

Public Member Functions

 exception (const std::string &text) LIBOPENMPT_NOEXCEPT
 
virtual ~exception () LIBOPENMPT_NOEXCEPT
 
virtual const char * what () const LIBOPENMPT_NOEXCEPT
 

Detailed Description

libopenmpt exception base class

Base class used for all exceptions that are thrown by libopenmpt itself. Libopenmpt may additionally throw any exception thrown by the standard library which are all derived from std::exception.

Remarks
Due to an oversight when designing the libopenmpt 0.2 C++ API, a openmpt::exception must not be copied or assigned to. libopenmpt 0.3 does correct this flaw.
See also
Error Handling

Constructor & Destructor Documentation

openmpt::exception::exception ( const std::string &  text)
virtual openmpt::exception::~exception ( )
virtual

Member Function Documentation

virtual const char* openmpt::exception::what ( ) const
virtual

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