Tag Parser  6.5.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
exceptions.cpp
Go to the documentation of this file.
1 #include "./exceptions.h"
2 
3 using namespace std;
4 
5 namespace Media {
6 
16 Failure::Failure() USE_NOTHROW
17 {}
18 
22 Failure::~Failure() USE_NOTHROW
23 {}
24 
28 const char *Failure::what() const USE_NOTHROW
29 {
30  return "unable to parse given data";
31 }
32 
42 NoDataFoundException::NoDataFoundException() USE_NOTHROW
43 {}
44 
48 NoDataFoundException::~NoDataFoundException() USE_NOTHROW
49 {}
50 
54 const char *NoDataFoundException::what() const USE_NOTHROW
55 {
56  return "no parsable data has been found";
57 }
58 
68 InvalidDataException::InvalidDataException() USE_NOTHROW
69 {}
70 
74 InvalidDataException::~InvalidDataException() USE_NOTHROW
75 {}
76 
80 const char *InvalidDataException::what() const USE_NOTHROW
81 {
82  return "data to be parsed or to be made seems to be invalid";
83 }
84 
94 TruncatedDataException::TruncatedDataException() USE_NOTHROW
95 {}
96 
100 TruncatedDataException::~TruncatedDataException() USE_NOTHROW
101 {}
102 
106 const char *TruncatedDataException::what() const USE_NOTHROW
107 {
108  return "data to be parsed seems to be truncated";
109 }
110 
120 OperationAbortedException::OperationAbortedException() USE_NOTHROW
121 {}
122 
126 OperationAbortedException::~OperationAbortedException() USE_NOTHROW
127 {}
128 
132 const char *OperationAbortedException::what() const USE_NOTHROW
133 {
134  return "operation has been aborted";
135 }
136 
146 VersionNotSupportedException::VersionNotSupportedException() USE_NOTHROW
147 {}
148 
152 VersionNotSupportedException::~VersionNotSupportedException() USE_NOTHROW
153 {}
154 
158 const char *VersionNotSupportedException::what() const USE_NOTHROW
159 {
160  return "the version of the data to be parsed is not supported";
161 }
162 
172 NotImplementedException::NotImplementedException() USE_NOTHROW
173 {}
174 
178 NotImplementedException::~NotImplementedException() USE_NOTHROW
179 {}
180 
184 const char *NotImplementedException::what() const USE_NOTHROW
185 {
186  return "the operation has not been implemented yet";
187 }
188 
189 }
STL namespace.
Contains all classes and functions of the TagInfo library.
Definition: exceptions.h:9