eckit::BadTag class

Base classes

class Exception
General purpose exception Derive other exceptions from this class and implement then in the class that throws them.

Public static functions

static auto throwing() -> bool
static void exceptionStack(std::ostream&, bool callStack = false)

Constructors, destructors, conversion operators

BadTag(const std::string& what)

Public functions

auto what() const -> const char* override noexcept
auto what(T... args) -> T
auto retryOnServer() const -> bool virtual
auto retryOnClient() const -> bool virtual
auto terminateApplication() const -> bool virtual
auto callStack() const -> const std::string&
auto location() const -> const CodeLocation&
void dumpStackTrace(std::ostream& = std::cout)

Function documentation

static bool eckit::BadTag::throwing()

static void eckit::BadTag::exceptionStack(std::ostream&, bool callStack = false)

const char* eckit::BadTag::what() const override noexcept

bool eckit::BadTag::retryOnServer() const virtual

bool eckit::BadTag::retryOnClient() const virtual

bool eckit::BadTag::terminateApplication() const virtual

const std::string& eckit::BadTag::callStack() const

const CodeLocation& eckit::BadTag::location() const