ALib C++ Framework
by
Library Version: 2605 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
fmtexceptions.hpp
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of module \alib_format of the \aliblong.
4///
5/// Copyright 2013-2026 A-Worx GmbH, Germany.
6/// Published under #"mainpage_license".
7//==================================================================================================
9
10//==================================================================================================
11/// Enumeration of exceptions thrown with classes found in sub-namespace #"alib::format;2"
12/// of module \alib_format.
13//==================================================================================================
14enum class FMTExceptions {
15 /// Argument index '0' not allowed.
17
18 /// Argument index greater than number of arguments available.
20
21 /// Incompatible type code given argument type found.
23
24 // Formatter Python Style
25 /// Thrown by #"FormatterPythonStyle":
26 /// Closing bracket <c>'}'</c> not found.
28
29 /// Thrown by #"FormatterPythonStyle":
30 /// Missing precision integral value after <c>'.'</c> character.
32
33 /// Thrown by #"FormatterPythonStyle":
34 /// Duplicate type code.
36
37 /// Thrown by #"FormatterPythonStyle":
38 /// Unknown type code.
40
41 /// Thrown by #"FormatterPythonStyle":
42 /// Expected <c>'!'</c> not found.
44
45 /// Thrown by #"FormatterPythonStyle":
46 /// Unknown conversion after <c>'!'</c>.
48
49 /// Thrown by #"FormatterPythonStyle":
50 /// Precision specification not allowed with integer types.
52
53 /// Thrown by #"FormatterPythonStyle":
54 /// Missing replacement strings after conversion <c>!Replace</c>.
56
57
58
59 // Formatter Java Style
60 /// Thrown by #"FormatterJavaStyle":
61 /// Formatting of negative values in brackets is not supported.
63
64 /// Thrown by #"FormatterJavaStyle":
65 /// Missing precision integral value after <c>'.'</c> character.
67
68 /// Thrown by #"FormatterJavaStyle":
69 /// Output of floating point values in hexadecimal format not supported.
71
72 /// Thrown by #"FormatterJavaStyle":
73 /// The alternate form '#"'" is not supported with given conversion.
75
76 /// Thrown by #"FormatterJavaStyle":
77 /// Precision specification is not supported with given conversion.
79
80 /// Thrown by #"FormatterJavaStyle":
81 /// Unknown conversion suffix with data/time conversion.
83
84 /// Thrown by #"FormatterJavaStyle":
85 /// Unknown conversion character.
87
88
89 // PropertyFormatter and PropertyFormatters
90 /// Thrown by constructor of #"PropertyFormatter"
91 /// when a property identifier parsed from the format string has no corresponding entry in the
92 /// #"PropertyFormatter::TCallbackTable" provided.
94
95 /// Exception entry added in method #"PropertyFormatter::Format;*"
96 /// when the underlying formatter throws.
98
99 /// Thrown by #"PropertyFormatters::Format;*" if a configuration variable
100 /// cannot be loaded or is empty.
101 ///
102 /// \note To prevent this, software using this class should provide
103 /// #"GetResourcePool;resourced" default values for each formatter variable.
105
106
107 // class Paragraphs
108 /// Thrown by #"Paragraphs::AddMarked(const BoxedObjects& ...);*"
109 /// when an unknown marker token was found.
111
112 /// Thrown by #"Paragraphs::AddMarked(const BoxedObjects& ...);*"
113 /// when a property identifier parsed from the format string has no corresponding entry in the
114 /// #"PropertyFormatter::TCallbackTable" provided.
116
117}; // FMTExceptions
118
119} // namespace [alib::format]
120
121
#define ALIB_EXPORT
#define ALIB_BOXING_VTABLE_DECLARE(TMapped, Identifier)
#define ALIB_ENUMS_ASSIGN_RECORD(TEnum, TRecord)
@ ArgumentIndexOutOfBounds
Argument index greater than number of arguments available.
@ ArgumentIndexIs0
Argument index '0' not allowed.
@ IncompatibleTypeCode
Incompatible type code given argument type found.