class
#include <eckit/testing/Test.h>
TestException
Base classes
- class eckit::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
-
TestException(const std::
string& w, const CodeLocation& l)
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:: testing:: TestException:: throwing()
#include <eckit/exception/Exceptions.h>
static void eckit:: testing:: TestException:: exceptionStack(std:: ostream&,
bool callStack = false)
#include <eckit/exception/Exceptions.h>
const char* eckit:: testing:: TestException:: what() const override noexcept
#include <eckit/exception/Exceptions.h>
bool eckit:: testing:: TestException:: retryOnServer() const virtual
#include <eckit/exception/Exceptions.h>
bool eckit:: testing:: TestException:: retryOnClient() const virtual
#include <eckit/exception/Exceptions.h>
bool eckit:: testing:: TestException:: terminateApplication() const virtual
#include <eckit/exception/Exceptions.h>
const std:: string& eckit:: testing:: TestException:: callStack() const
#include <eckit/exception/Exceptions.h>
const CodeLocation& eckit:: testing:: TestException:: location() const
#include <eckit/exception/Exceptions.h>
void eckit:: testing:: TestException:: dumpStackTrace(std:: ostream& = std:: cout)
#include <eckit/exception/Exceptions.h>