eckit::geo::Exception class

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()

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

const char* eckit::geo::Exception::what() const override noexcept

bool eckit::geo::Exception::retryOnServer() const virtual

bool eckit::geo::Exception::retryOnClient() const virtual

bool eckit::geo::Exception::terminateApplication() const virtual

const std::string& eckit::geo::Exception::callStack() const

const CodeLocation& eckit::geo::Exception::location() const

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.