Classes | Namespaces | Macros
cel_errutil.h File Reference

OS Dependent Error Handling. More...

#include "cel_types.h"
#include "cel_string.h"
#include "cel_error.h"
#include "cel_exception.h"
Include dependency graph for cel_errutil.h:

Classes

class  Celartem::ErrorSaver
 
struct  Celartem::Error
 
class  Celartem::PlatformException
 

Namespaces

 Celartem
 

Macros

#define celThrowOSError()
 
#define celThrowOSError_1(str)
 
#define celThrowOSError_2(err, str)
 
#define celThrow_E(err)
 

Detailed Description

OS Dependent Error Handling.

Macro Definition Documentation

#define celThrow_E (   err)
Value:
throw ::Celartem::Exception( \
err, \
__FILE__, __LINE__)
static String stringFromOSError()

This macro returns the exception correspoinding to the specified error code.

#define celThrowOSError ( )
Value:
throw ::Celartem::PlatformException( \
__FILE__, __LINE__)
static String stringFromOSError()
static GeneralErrorDefinition errorFromOSError()
static size_t getOSError()

This macro returns the exception correspoinding to the current OS error state.

#define celThrowOSError_1 (   str)
Value:
throw ::Celartem::PlatformException( \
(::Celartem::Error::stringFromOSError() + utf8s(" ") + str), \
__FILE__, __LINE__)
static String stringFromOSError()
static GeneralErrorDefinition errorFromOSError()
static size_t getOSError()

This macro returns the exception correspoinding to the current OS error state. This macro accepts additional string as its parameter.

Parameters
strAdditional information to be shown.
#define celThrowOSError_2 (   err,
  str 
)
Value:
throw ::Celartem::PlatformException( \
err, \
(::Celartem::Error::stringFromOSError(err) + utf8s(" ") + str), \
__FILE__, __LINE__)
static String stringFromOSError()
static GeneralErrorDefinition errorFromOSError()

This macro returns the exception correspoinding to the current OS error state. This macro accepts additional string as its parameter.

Parameters
errOS Error code.
strAdditional information to be shown.

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:05.
Cuminas Logo