pianod2
multisource multiuser scriptable networked music player
Public Member Functions | Private Attributes | List of all members
Media::MediaException Class Reference

An exception thrown by metadata readers when metadata cannot be extracted. More...

#include <metadata.h>

Inheritance diagram for Media::MediaException:
Inheritance graph
[legend]
Collaboration diagram for Media::MediaException:
Collaboration graph
[legend]

Public Member Functions

 MediaException (const char *why)
 
virtual const char * what () const noexcept override
 

Private Attributes

const char * reason = nullptr
 

Detailed Description

An exception thrown by metadata readers when metadata cannot be extracted.

Constructor & Destructor Documentation

◆ MediaException()

Media::MediaException::MediaException ( const char *  why)
inline

Member Function Documentation

◆ what()

virtual const char* Media::MediaException::what ( ) const
inlineoverridevirtualnoexcept

Member Data Documentation

◆ reason

const char* Media::MediaException::reason = nullptr
private

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