legacy_error.hpp File Reference

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)
 

Macro Definition Documentation

#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 Documentation

typedef int kzsError
typedef int kzsException