Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions | Variables

Exception.h File Reference

#include <exception>
#include <vector>
#include <string>
#include <algorithm>
#include "Common.h"

Go to the source code of this file.

Classes

class  ExceptionID
class  ExpDesc
class  Exception

Defines

#define CHCKHRSLTV(fnc, val, err)
#define THRWEXCP(err, hRslt)   throw Exception (err, hRslt, __FILE__, __LINE__);
#define CHCKHRSLT(fnc, err)   CHCKHRSLTV(fnc,S_OK,err)

Typedefs

typedef long RESULT

Functions

void registerAllExceptions (void)

Variables

ExceptionID ErrGeneral
ExceptionID ErrNotFound
ExpDesc MaterialNotAvailDesc
ExpDesc ImageSizesNotMatchDesc
ExpDesc ImageHasExportsDesc
ExpDesc InvalidColorChannelDesc
ExpDesc SceneInvalidDesc
ExpDesc CameraInvalidDesc
ExpDesc ObserverInvalidDesc
ExpDesc MirrorInvalidDesc
ExpDesc MirrorSizeInvalidDesc
ExpDesc MirrorNormalInvalidDesc
ExpDesc MirrorHorizontalDesc
ExpDesc MirrorTooSmallDesc
ExpDesc SourceVideoEmptyDesc
ExpDesc SourceVideoCreationDesc

Detailed Description

Definition in file Exception.h.


Define Documentation

#define CHCKHRSLT (   fnc,
  err 
)    CHCKHRSLTV(fnc,S_OK,err)

Definition at line 60 of file Exception.h.

Referenced by Video_init().

#define CHCKHRSLTV (   fnc,
  val,
  err 
)
Value:
{ \
    HRESULT macroHRslt = (fnc); \
    if (macroHRslt != val) \
    throw Exception (err, macroHRslt, __FILE__, __LINE__); \
}

Definition at line 39 of file Exception.h.

#define THRWEXCP (   err,
  hRslt 
)    throw Exception (err, hRslt, __FILE__, __LINE__);

Typedef Documentation

typedef long RESULT

Definition at line 75 of file Exception.h.


Function Documentation

void registerAllExceptions ( void  )

Variable Documentation

Referenced by registerAllExceptions().

Definition at line 36 of file Exception.cpp.

Definition at line 36 of file Exception.cpp.

Referenced by Exception::Exception().

ExpDesc ImageHasExportsDesc

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

ExpDesc InvalidColorChannelDesc

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().

Referenced by registerAllExceptions().