TextException.cc
Go to the documentation of this file.
61std::ostream &
std::ostream & CurrentExceptionExtra(std::ostream &os)
Definition: TextException.cc:99
std::runtime_error WhatString
a standard CoW string; avoids noise and circular dependencies of SBuf
Definition: TextException.cc:18
std::unordered_multimap< const void *, WhatString > WhatStrings
a collection of strings indexed by pointers to their creator objects
Definition: TextException.cc:21
static WhatStrings * WhatStrings_
requested what() strings of alive TextException objects
Definition: TextException.cc:24
std::ostream & CurrentException(std::ostream &os)
prints active (i.e., thrown but not yet handled) exception
Definition: TextException.cc:88
static std::ostream & CurrentException_(std::ostream &os)
prints the current exception (which presence has been verified by the caller)
Definition: TextException.cc:70
std::ostream & operator<<(std::ostream &os, const TextException &ex)
efficiently prints TextException
Definition: TextException.cc:62
SourceLocation where
code location related to the exception; usually the thrower location
Definition: TextException.h:46
std::ostream & print(std::ostream &) const
dumps the exception text into the stream
Definition: TextException.cc:37
TextException(const char *message, const SourceLocation &location)
Definition: TextException.h:24