libopenmpt  0.4.1+release
cross-platform C++ and C library to decode tracked music files
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) noexcept
 exception (const exception &other) noexcept
 exception (exception &&other) noexcept
virtual ~exception () noexcept
const char * what () const noexcept override

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.

See also
Error Handling

Constructor & Destructor Documentation

◆ exception() [1/3]

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

◆ exception() [2/3]

openmpt::exception::exception ( const exception other)

◆ exception() [3/3]

openmpt::exception::exception ( exception &&  other)

◆ ~exception()

virtual openmpt::exception::~exception ( )

Member Function Documentation

◆ what()

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

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