Tag Parser  6.2.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Public Member Functions | List of all members
Media::Failure Class Reference

The class inherits from std::exception and serves as base class for exceptions thrown by the elements of the Media namespace. More...

#include <exceptions.h>

Inheritance diagram for Media::Failure:
[legend]
Collaboration diagram for Media::Failure:
[legend]

Public Member Functions

 Failure () USE_NOTHROW
 Constructs a new exception. More...
 
virtual ~Failure () USE_NOTHROW
 Destroys the exception. More...
 
virtual const char * what () const USE_NOTHROW
 Returns a C-style character string describing the cause of the exception. More...
 

Detailed Description

The class inherits from std::exception and serves as base class for exceptions thrown by the elements of the Media namespace.

Definition at line 11 of file exceptions.h.

Constructor & Destructor Documentation

◆ Failure()

Media::Failure::Failure ( )

Constructs a new exception.

Definition at line 16 of file exceptions.cpp.

◆ ~Failure()

Media::Failure::~Failure ( )
virtual

Destroys the exception.

Definition at line 22 of file exceptions.cpp.

Member Function Documentation

◆ what()

const char * Media::Failure::what ( ) const
virtual

Returns a C-style character string describing the cause of the exception.

Reimplemented in Media::NotImplementedException, Media::VersionNotSupportedException, Media::OperationAbortedException, Media::TruncatedDataException, Media::InvalidDataException, and Media::NoDataFoundException.

Definition at line 28 of file exceptions.cpp.


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