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