Classes | Namespaces | Functions | Variables
exceptions.h File Reference
#include "yaml-cpp-pm/mark.h"
#include "yaml-cpp-pm/traits.h"
#include <stdexcept>
#include <string>
#include <sstream>
Include dependency graph for exceptions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  YAML_PM::BadDereference
class  YAML_PM::EmitterException
class  YAML_PM::Exception
class  YAML_PM::InvalidScalar
class  YAML_PM::KeyNotFound
class  YAML_PM::ParserException
class  YAML_PM::RepresentationException
class  YAML_PM::TypedKeyNotFound< T >

Namespaces

namespace  YAML_PM
namespace  YAML_PM::ErrorMsg

Functions

template<typename T >
const std::string YAML_PM::ErrorMsg::KEY_NOT_FOUND_WITH_KEY (const T &, typename disable_if< is_numeric< T > >::type *=0)
const std::string YAML_PM::ErrorMsg::KEY_NOT_FOUND_WITH_KEY (const std::string &key)
template<typename T >
const std::string YAML_PM::ErrorMsg::KEY_NOT_FOUND_WITH_KEY (const T &key, typename enable_if< is_numeric< T > >::type *=0)
template<typename T >
TypedKeyNotFound< T > YAML_PM::MakeTypedKeyNotFound (const Mark &mark, const T &key)

Variables

const char *const YAML_PM::ErrorMsg::ALIAS_CONTENT = "aliases can't have any content, *including* tags"
const char *const YAML_PM::ErrorMsg::ALIAS_NOT_FOUND = "alias not found after *"
const char *const YAML_PM::ErrorMsg::AMBIGUOUS_ANCHOR = "cannot assign the same alias to multiple nodes"
const char *const YAML_PM::ErrorMsg::ANCHOR_NOT_FOUND = "anchor not found after &"
const char *const YAML_PM::ErrorMsg::BAD_DEREFERENCE = "bad dereference"
const char *const YAML_PM::ErrorMsg::BLOCK_ENTRY = "illegal block entry"
const char *const YAML_PM::ErrorMsg::CHAR_IN_ALIAS = "illegal character found while scanning alias"
const char *const YAML_PM::ErrorMsg::CHAR_IN_ANCHOR = "illegal character found while scanning anchor"
const char *const YAML_PM::ErrorMsg::CHAR_IN_BLOCK = "unexpected character in block scalar"
const char *const YAML_PM::ErrorMsg::CHAR_IN_SCALAR = "illegal character in scalar"
const char *const YAML_PM::ErrorMsg::CHAR_IN_TAG_HANDLE = "illegal character found while scanning tag handle"
const char *const YAML_PM::ErrorMsg::DOC_IN_SCALAR = "illegal document indicator in scalar"
const char *const YAML_PM::ErrorMsg::END_OF_MAP = "end of map not found"
const char *const YAML_PM::ErrorMsg::END_OF_MAP_FLOW = "end of map flow not found"
const char *const YAML_PM::ErrorMsg::END_OF_SEQ = "end of sequence not found"
const char *const YAML_PM::ErrorMsg::END_OF_SEQ_FLOW = "end of sequence flow not found"
const char *const YAML_PM::ErrorMsg::END_OF_VERBATIM_TAG = "end of verbatim tag not found"
const char *const YAML_PM::ErrorMsg::EOF_IN_SCALAR = "illegal EOF in scalar"
const char *const YAML_PM::ErrorMsg::EXPECTED_KEY_TOKEN = "expected key token"
const char *const YAML_PM::ErrorMsg::EXPECTED_VALUE_TOKEN = "expected value token"
const char *const YAML_PM::ErrorMsg::FLOW_END = "illegal flow end"
const char *const YAML_PM::ErrorMsg::INVALID_ALIAS = "invalid alias"
const char *const YAML_PM::ErrorMsg::INVALID_ANCHOR = "invalid anchor"
const char *const YAML_PM::ErrorMsg::INVALID_ESCAPE = "unknown escape character: "
const char *const YAML_PM::ErrorMsg::INVALID_HEX = "bad character found while scanning hex number"
const char *const YAML_PM::ErrorMsg::INVALID_SCALAR = "invalid scalar"
const char *const YAML_PM::ErrorMsg::INVALID_TAG = "invalid tag"
const char *const YAML_PM::ErrorMsg::INVALID_UNICODE = "invalid unicode: "
const char *const YAML_PM::ErrorMsg::KEY_NOT_FOUND = "key not found"
const char *const YAML_PM::ErrorMsg::MAP_KEY = "illegal map key"
const char *const YAML_PM::ErrorMsg::MAP_VALUE = "illegal map value"
const char *const YAML_PM::ErrorMsg::MULTIPLE_ALIASES = "cannot assign multiple aliases to the same node"
const char *const YAML_PM::ErrorMsg::MULTIPLE_ANCHORS = "cannot assign multiple anchors to the same node"
const char *const YAML_PM::ErrorMsg::MULTIPLE_TAGS = "cannot assign multiple tags to the same node"
const char *const YAML_PM::ErrorMsg::REPEATED_TAG_DIRECTIVE = "repeated TAG directive"
const char *const YAML_PM::ErrorMsg::REPEATED_YAML_DIRECTIVE = "repeated YAML directive"
const char *const YAML_PM::ErrorMsg::SINGLE_QUOTED_CHAR = "invalid character in single-quoted string"
const char *const YAML_PM::ErrorMsg::TAB_IN_INDENTATION = "illegal tab when looking for indentation"
const char *const YAML_PM::ErrorMsg::TAG_DIRECTIVE_ARGS = "TAG directives must have exactly two arguments"
const char *const YAML_PM::ErrorMsg::TAG_WITH_NO_SUFFIX = "tag handle with no suffix"
const char *const YAML_PM::ErrorMsg::UNEXPECTED_END_MAP = "unexpected end map token"
const char *const YAML_PM::ErrorMsg::UNEXPECTED_END_SEQ = "unexpected end sequence token"
const char *const YAML_PM::ErrorMsg::UNEXPECTED_KEY_TOKEN = "unexpected key token"
const char *const YAML_PM::ErrorMsg::UNEXPECTED_VALUE_TOKEN = "unexpected value token"
const char *const YAML_PM::ErrorMsg::UNKNOWN_ANCHOR = "the referenced anchor is not defined"
const char *const YAML_PM::ErrorMsg::UNKNOWN_TOKEN = "unknown token"
const char *const YAML_PM::ErrorMsg::UNMATCHED_GROUP_TAG = "unmatched group tag"
const char *const YAML_PM::ErrorMsg::YAML_DIRECTIVE_ARGS = "YAML directives must have exactly one argument"
const char *const YAML_PM::ErrorMsg::YAML_MAJOR_VERSION = "YAML major version too large"
const char *const YAML_PM::ErrorMsg::YAML_VERSION = "bad YAML version: "
const char *const YAML_PM::ErrorMsg::ZERO_INDENT_IN_BLOCK = "cannot set zero indentation for a block scalar"


upstream_src
Author(s):
autogenerated on Mon Oct 6 2014 10:27:42