Tag Parser  7.0.3
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 TagParser {
6 
16 Failure::Failure() USE_NOTHROW
17 {
18 }
19 
23 Failure::~Failure() USE_NOTHROW
24 {
25 }
26 
30 const char *Failure::what() const USE_NOTHROW
31 {
32  return "unable to parse given data";
33 }
34 
44 NoDataFoundException::NoDataFoundException() USE_NOTHROW
45 {
46 }
47 
51 NoDataFoundException::~NoDataFoundException() USE_NOTHROW
52 {
53 }
54 
58 const char *NoDataFoundException::what() const USE_NOTHROW
59 {
60  return "no parsable data has been found";
61 }
62 
72 InvalidDataException::InvalidDataException() USE_NOTHROW
73 {
74 }
75 
79 InvalidDataException::~InvalidDataException() USE_NOTHROW
80 {
81 }
82 
86 const char *InvalidDataException::what() const USE_NOTHROW
87 {
88  return "data to be parsed or to be made seems to be invalid";
89 }
90 
100 TruncatedDataException::TruncatedDataException() USE_NOTHROW
101 {
102 }
103 
107 TruncatedDataException::~TruncatedDataException() USE_NOTHROW
108 {
109 }
110 
114 const char *TruncatedDataException::what() const USE_NOTHROW
115 {
116  return "data to be parsed seems to be truncated";
117 }
118 
128 OperationAbortedException::OperationAbortedException() USE_NOTHROW
129 {
130 }
131 
135 OperationAbortedException::~OperationAbortedException() USE_NOTHROW
136 {
137 }
138 
142 const char *OperationAbortedException::what() const USE_NOTHROW
143 {
144  return "operation has been aborted";
145 }
146 
156 VersionNotSupportedException::VersionNotSupportedException() USE_NOTHROW
157 {
158 }
159 
163 VersionNotSupportedException::~VersionNotSupportedException() USE_NOTHROW
164 {
165 }
166 
170 const char *VersionNotSupportedException::what() const USE_NOTHROW
171 {
172  return "the version of the data to be parsed is not supported";
173 }
174 
184 NotImplementedException::NotImplementedException() USE_NOTHROW
185 {
186 }
187 
191 NotImplementedException::~NotImplementedException() USE_NOTHROW
192 {
193 }
194 
198 const char *NotImplementedException::what() const USE_NOTHROW
199 {
200  return "the operation has not been implemented yet";
201 }
202 
203 } // namespace TagParser
STL namespace.