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