Go to the documentation of this file. 1 #ifndef EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
2 #define EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
31 const char *
const END_OF_SEQ =
"end of sequence not found";
33 const char *
const MULTIPLE_TAGS =
"cannot assign multiple tags to the same node";
34 const char *
const MULTIPLE_ANCHORS =
"cannot assign multiple anchors to the same node";
35 const char *
const MULTIPLE_ALIASES =
"cannot assign multiple aliases to the same node";
36 const char *
const ALIAS_CONTENT =
"aliases can't have any content, *including* tags";
37 const char *
const INVALID_HEX =
"bad character found while scanning hex number";
41 const char *
const DOC_IN_SCALAR =
"illegal document indicator in scalar";
45 const char *
const FLOW_END =
"illegal flow end";
47 const char *
const MAP_KEY =
"illegal map key";
51 const char *
const CHAR_IN_ALIAS =
"illegal character found while scanning alias";
52 const char *
const CHAR_IN_ANCHOR =
"illegal character found while scanning anchor";
54 const char *
const CHAR_IN_BLOCK =
"unexpected character in block scalar";
55 const char *
const AMBIGUOUS_ANCHOR =
"cannot assign the same alias to multiple nodes";
80 std::stringstream stream;
87 std::stringstream stream;
104 std::stringstream output;
131 template <
typename T>
136 template <
typename T>
146 template <
typename T>
164 #endif // EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
const char *const UNMATCHED_GROUP_TAG
const char *const END_OF_MAP
const char *const CHAR_IN_ALIAS
const char *const KEY_NOT_FOUND
Exception(const Mark &mark_, const std::string &msg_)
const char *const MULTIPLE_ALIASES
const char *const CHAR_IN_ANCHOR
const char *const CHAR_IN_BLOCK
const char *const END_OF_VERBATIM_TAG
const char *const INVALID_HEX
const char *const INVALID_SCALAR
const char *const REPEATED_YAML_DIRECTIVE
const char *const UNKNOWN_ANCHOR
const char *const INVALID_ALIAS
const char *const SINGLE_QUOTED_CHAR
const char *const INVALID_TAG
TypedKeyNotFound< T > MakeTypedKeyNotFound(const Mark &mark, const T &key)
const char *const EXPECTED_KEY_TOKEN
InvalidScalar(const Mark &mark_)
const char *const INVALID_ESCAPE
const char *const ANCHOR_NOT_FOUND
const char *const YAML_DIRECTIVE_ARGS
const char *const UNEXPECTED_END_MAP
const char *const MULTIPLE_TAGS
KeyNotFound(const Mark &mark_, const T &key_)
virtual ~TypedKeyNotFound()
const char *const MAP_KEY
const char *const MAP_VALUE
const char *const INVALID_UNICODE
const char *const BAD_DEREFERENCE
const char *const UNEXPECTED_END_SEQ
const char *const UNEXPECTED_KEY_TOKEN
const char *const INVALID_ANCHOR
const char *const CHAR_IN_SCALAR
const char *const MULTIPLE_ANCHORS
const char *const ALIAS_NOT_FOUND
const char *const CHAR_IN_TAG_HANDLE
const char *const DOC_IN_SCALAR
const char *const EOF_IN_SCALAR
const char *const TAG_DIRECTIVE_ARGS
const std::string KEY_NOT_FOUND_WITH_KEY(const T &key, typename enable_if< is_numeric< T > >::type *=0)
static const std::string build_what(const Mark &mark, const std::string &msg)
RepresentationException(const Mark &mark_, const std::string &msg_)
const char *const END_OF_SEQ_FLOW
const char *const FLOW_END
const char *const TAB_IN_INDENTATION
const char *const REPEATED_TAG_DIRECTIVE
const char *const EXPECTED_VALUE_TOKEN
const char *const YAML_VERSION
const char *const TAG_WITH_NO_SUFFIX
const char *const ZERO_INDENT_IN_BLOCK
const char *const AMBIGUOUS_ANCHOR
ParserException(const Mark &mark_, const std::string &msg_)
const char *const UNEXPECTED_VALUE_TOKEN
EmitterException(const std::string &msg_)
const char *const BLOCK_ENTRY
const char *const ALIAS_CONTENT
const char *const END_OF_SEQ
const char *const UNKNOWN_TOKEN
const char *const YAML_MAJOR_VERSION
const std::string KEY_NOT_FOUND_WITH_KEY(const T &, typename disable_if< is_numeric< T > >::type *=0)
TypedKeyNotFound(const Mark &mark_, const T &key_)
const char *const END_OF_MAP_FLOW
mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:57