Kanzi 3.9.10
legacy_error.hpp File Reference

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.
 

Macro Definition Documentation

◆ kzThrowIfErrorInner

#define kzThrowIfErrorInner ( x)

◆ kzThrowIfErrorMessageInner

#define kzThrowIfErrorMessageInner ( x,
message )

◆ kzThrowIfErrorFormatInner

#define kzThrowIfErrorFormatInner ( x,
variadicLogMessage )

◆ kzThrowIfError

#define kzThrowIfError ( x)

◆ kzThrowIfErrorMessage

#define kzThrowIfErrorMessage ( x,
message )

◆ kzThrowIfErrorFormat

#define kzThrowIfErrorFormat ( x,
variadicLogMessage )

◆ kzThrowIfErrorTest

#define kzThrowIfErrorTest ( test,
error )

◆ kzThrowIfErrorTestMessage

#define kzThrowIfErrorTestMessage ( test,
error,
message )

◆ kzThrowIfErrorTestFormat

#define kzThrowIfErrorTestFormat ( test,
error,
variadicLogMessage )

Typedef Documentation

◆ kzsError

typedef int kzsError

◆ kzsException

typedef int kzsException