#include <kanzi/core/cpp/platform.hpp>
#include <kanzi/core/cpp/stdexcept.hpp>
#include <kanzi/core/cpp/string.hpp>
#include <kanzi/core/error/exception.hpp>
#include <kanzi/core/log/log_specialization.hpp>
#include <stdarg.h>
Classes | |
class | kanzi::LegacyError |
Namespaces | |
kanzi | |
Macros | |
#define | kzThrowIfErrorInner(x) |
#define | kzThrowIfErrorMessageInner(x, message) |
#define | kzThrowIfErrorFormatInner(x, variadicLogMessage) |
#define | kzThrowIfError(x) |
#define | kzThrowIfErrorMessage(x, message) |
#define | kzThrowIfErrorFormat(x, variadicLogMessage) |
#define | kzThrowIfErrorTest(test, error) |
#define | kzThrowIfErrorTestMessage(test, error, message) |
#define | kzThrowIfErrorTestFormat(test, error, variadicLogMessage) |
Typedefs | |
typedef int | kzsError |
typedef int | kzsException |
Functions | |
KANZI_API kzString | kanzi::kzErrorCodeToString (kzsError code) |
template<> | |
string | kanzi::logArgumentToString (const LegacyError &legacyError) |
Used by logging system to convert legacy exception type objects to string. More... | |
KANZI_API KZ_ATTRIBUTE_NO_RETURN void | kanzi::kzThrowLegacyError (kzsError value) |
KANZI_API KZ_ATTRIBUTE_NO_RETURN void | kanzi::kzThrowLegacyErrorMessage (kzsError value, kzString message) |
KANZI_API KZ_ATTRIBUTE_NO_RETURN void | kanzi::kzThrowLegacyErrorMessage (kzsError value, const string &message) |
KANZI_API KZ_ATTRIBUTE_NO_RETURN void | kanzi::kzThrowLegacyErrorFormat (kzsError value, kzString format,...) |
KANZI_API string | kanzi::kzFormatVariadicLogMessage (kzString format,...) |
KANZI_API string | kanzi::kzFormatVariadicLogMessageList (kzString format, va_list arguments) |
#define kzThrowIfErrorInner | ( | x | ) |
#define kzThrowIfErrorMessageInner | ( | x, | |
message | |||
) |
#define kzThrowIfErrorFormatInner | ( | x, | |
variadicLogMessage | |||
) |
#define kzThrowIfError | ( | x | ) |
#define kzThrowIfErrorMessage | ( | x, | |
message | |||
) |
#define kzThrowIfErrorFormat | ( | x, | |
variadicLogMessage | |||
) |
#define kzThrowIfErrorTest | ( | test, | |
error | |||
) |
#define kzThrowIfErrorTestMessage | ( | test, | |
error, | |||
message | |||
) |
#define kzThrowIfErrorTestFormat | ( | test, | |
error, | |||
variadicLogMessage | |||
) |
typedef int kzsError |
typedef int kzsException |