class
#include <eckit/geo/Exceptions.h>
Exception
Base classes
- class eckit::Exception
- Base class for all ECMWF exceptions. All exception types shall inherit from this class, either directly or indirectly.
Derived classes
- class AreaError
- class OrderError
- class ProjectionError
- class SpecError
Public static functions
- static auto throwing() -> bool
-
static void exceptionStack(std::
ostream&, bool callStack = false)
Constructors, destructors, conversion operators
-
Exception(const std::
string& what, const CodeLocation& = {}) explicit - Constructors.
- Exception()
- Exception(const Exception&) defaulted
- Exception(Exception&&) defaulted
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&
Function documentation
static bool eckit:: geo:: Exception:: throwing()
#include <eckit/exception/Exceptions.h>
static void eckit:: geo:: Exception:: exceptionStack(std:: ostream&,
bool callStack = false)
#include <eckit/exception/Exceptions.h>
const char* eckit:: geo:: Exception:: what() const override noexcept
#include <eckit/exception/Exceptions.h>
bool eckit:: geo:: Exception:: retryOnServer() const virtual
#include <eckit/exception/Exceptions.h>
bool eckit:: geo:: Exception:: retryOnClient() const virtual
#include <eckit/exception/Exceptions.h>
bool eckit:: geo:: Exception:: terminateApplication() const virtual
#include <eckit/exception/Exceptions.h>
const std:: string& eckit:: geo:: Exception:: callStack() const
#include <eckit/exception/Exceptions.h>
const CodeLocation& eckit:: geo:: Exception:: location() const
#include <eckit/exception/Exceptions.h>
std:: ostream& eckit:: geo:: Exception:: dumpStackTrace(std:: ostream& = std:: cout)
#include <eckit/exception/Exceptions.h>