Tag Parser  9.1.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 TagParser {
6 
16 Failure::Failure() noexcept
17 {
18 }
19 
23 Failure::~Failure() noexcept
24 {
25 }
26 
30 const char *Failure::what() const noexcept
31 {
32  return "unable to parse given data";
33 }
34 
45 NoDataFoundException::NoDataFoundException() noexcept
46 {
47 }
48 
52 NoDataFoundException::~NoDataFoundException() noexcept
53 {
54 }
55 
59 const char *NoDataFoundException::what() const noexcept
60 {
61  return "no parsable data has been found";
62 }
63 
73 InvalidDataException::InvalidDataException() noexcept
74 {
75 }
76 
80 InvalidDataException::~InvalidDataException() noexcept
81 {
82 }
83 
87 const char *InvalidDataException::what() const noexcept
88 {
89  return "data to be parsed or to be made seems to be invalid";
90 }
91 
101 NoDataProvidedException::NoDataProvidedException() noexcept
102 {
103 }
104 
108 NoDataProvidedException::~NoDataProvidedException() noexcept
109 {
110 }
111 
115 const char *NoDataProvidedException::what() const noexcept
116 {
117  return "can not write empty value";
118 }
119 
129 TruncatedDataException::TruncatedDataException() noexcept
130 {
131 }
132 
136 TruncatedDataException::~TruncatedDataException() noexcept
137 {
138 }
139 
143 const char *TruncatedDataException::what() const noexcept
144 {
145  return "data to be parsed seems to be truncated";
146 }
147 
157 OperationAbortedException::OperationAbortedException() noexcept
158 {
159 }
160 
164 OperationAbortedException::~OperationAbortedException() noexcept
165 {
166 }
167 
171 const char *OperationAbortedException::what() const noexcept
172 {
173  return "operation has been aborted";
174 }
175 
185 VersionNotSupportedException::VersionNotSupportedException() noexcept
186 {
187 }
188 
192 VersionNotSupportedException::~VersionNotSupportedException() noexcept
193 {
194 }
195 
199 const char *VersionNotSupportedException::what() const noexcept
200 {
201  return "the version of the data to be parsed is not supported";
202 }
203 
213 NotImplementedException::NotImplementedException() noexcept
214 {
215 }
216 
220 NotImplementedException::~NotImplementedException() noexcept
221 {
222 }
223 
227 const char *NotImplementedException::what() const noexcept
228 {
229  return "the operation has not been implemented yet";
230 }
231 
232 } // namespace TagParser
exceptions.h
TagParser
Contains all classes and functions of the TagInfo library.
Definition: aaccodebook.h:10