class
#include <eckit/exception/Exceptions.h>
UnexpectedState
Base classes
- class Exception
- Base class for all ECMWF exceptions. All exception types shall inherit from this class, either directly or indirectly.
Public static functions
- static auto throwing() -> bool
-
static void exceptionStack(std::
ostream &, bool callStack = false)
Constructors, destructors, conversion operators
-
UnexpectedState(const std::
string &, const CodeLocation& = {}) explicit
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&
-
auto dumpStackTrace(std::
ostream & = std::cout ) -> std::ostream &