Tag Parser: exceptions.cpp Source File

Tag Parser 12.5.2 C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags

Loading...
Searching...
No Matches
exceptions.cpp
Go to the documentation of this file.
1#include "./exceptions.h"
2
3using namespace std;
4
5namespace TagParser {
6
12
16Failure::Failure() noexcept
17{
18}
19
23Failure::~Failure() noexcept
24{
25}
26
30 const char *Failure::what() const noexcept
31{
32 return "unable to parse given data";
33}
34
41
45NoDataFoundException::NoDataFoundException() noexcept
46{
47}
48
52NoDataFoundException::~NoDataFoundException() noexcept
53{
54}
55
59 const char *NoDataFoundException::what() const noexcept
60{
61 return "no parsable data has been found";
62}
63
69
73InvalidDataException::InvalidDataException() noexcept
74{
75}
76
80InvalidDataException::~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
97
101NoDataProvidedException::NoDataProvidedException() noexcept
102{
103}
104
108NoDataProvidedException::~NoDataProvidedException() noexcept
109{
110}
111
115 const char *NoDataProvidedException::what() const noexcept
116{
117 return "can not write empty value";
118}
119
125
129TruncatedDataException::TruncatedDataException() noexcept
130{
131}
132
136TruncatedDataException::~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
153
157OperationAbortedException::OperationAbortedException() noexcept
158{
159}
160
164OperationAbortedException::~OperationAbortedException() noexcept
165{
166}
167
171 const char *OperationAbortedException::what() const noexcept
172{
173 return "operation has been aborted";
174}
175
181
185VersionNotSupportedException::VersionNotSupportedException() noexcept
186{
187}
188
192VersionNotSupportedException::~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
209
213NotImplementedException::NotImplementedException() noexcept
214{
215}
216
220NotImplementedException::~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
TagParser::Failure::what
virtual const char * what() const noexcept
Returns a C-style character string describing the cause of the exception.
Definition exceptions.cpp:30
TagParser::Failure::~Failure
virtual ~Failure() noexcept
Destroys the exception.
Definition exceptions.cpp:23
TagParser::Failure::Failure
Failure() noexcept
Constructs a new exception.
Definition exceptions.cpp:16
TagParser::InvalidDataException::InvalidDataException
InvalidDataException() noexcept
Constructs a new exception.
Definition exceptions.cpp:73
TagParser::InvalidDataException::what
virtual const char * what() const noexcept
Returns a C-style character string describing the cause of the exception.
Definition exceptions.cpp:87
TagParser::InvalidDataException::~InvalidDataException
virtual ~InvalidDataException() noexcept
Destroys the exception.
Definition exceptions.cpp:80
TagParser::NoDataFoundException::what
virtual const char * what() const noexcept
Returns a C-style character string describing the cause of the exception.
Definition exceptions.cpp:59
TagParser::NoDataFoundException::NoDataFoundException
NoDataFoundException() noexcept
Constructs a new exception.
Definition exceptions.cpp:45
TagParser::NoDataFoundException::~NoDataFoundException
virtual ~NoDataFoundException() noexcept
Destroys the exception.
Definition exceptions.cpp:52
TagParser::NoDataProvidedException::~NoDataProvidedException
virtual ~NoDataProvidedException() noexcept
Destroys the exception.
Definition exceptions.cpp:108
TagParser::NoDataProvidedException::NoDataProvidedException
NoDataProvidedException() noexcept
Constructs a new exception.
Definition exceptions.cpp:101
TagParser::NoDataProvidedException::what
virtual const char * what() const noexcept
Returns a C-style character string describing the cause of the exception.
Definition exceptions.cpp:115
TagParser::NotImplementedException::what
virtual const char * what() const noexcept
Returns a C-style character string describing the cause of the exception.
Definition exceptions.cpp:227
TagParser::NotImplementedException::NotImplementedException
NotImplementedException() noexcept
Constructs a new exception.
Definition exceptions.cpp:213
TagParser::NotImplementedException::~NotImplementedException
virtual ~NotImplementedException() noexcept
Destroys the exception.
Definition exceptions.cpp:220
TagParser::OperationAbortedException::what
virtual const char * what() const noexcept
Returns a C-style character string describing the cause of the exception.
Definition exceptions.cpp:171
TagParser::OperationAbortedException::~OperationAbortedException
virtual ~OperationAbortedException() noexcept
Destroys the exception.
Definition exceptions.cpp:164
TagParser::OperationAbortedException::OperationAbortedException
OperationAbortedException() noexcept
Constructs a new exception.
Definition exceptions.cpp:157
TagParser::TruncatedDataException::TruncatedDataException
TruncatedDataException() noexcept
Constructs a new exception.
Definition exceptions.cpp:129
TagParser::TruncatedDataException::what
virtual const char * what() const noexcept
Returns a C-style character string describing the cause of the exception.
Definition exceptions.cpp:143
TagParser::TruncatedDataException::~TruncatedDataException
virtual ~TruncatedDataException() noexcept
Destroys the exception.
Definition exceptions.cpp:136
TagParser::VersionNotSupportedException::VersionNotSupportedException
VersionNotSupportedException() noexcept
Constructs a new exception.
Definition exceptions.cpp:185
TagParser::VersionNotSupportedException::what
virtual const char * what() const noexcept
Returns a C-style character string describing the cause of the exception.
Definition exceptions.cpp:199
TagParser::VersionNotSupportedException::~VersionNotSupportedException
virtual ~VersionNotSupportedException() noexcept
Destroys the exception.
Definition exceptions.cpp:192
exceptions.h
TagParser
Contains all classes and functions of the TagInfo library.
Definition aaccodebook.h:10