OgreHaptics::ExceptionFactory Class Reference

Class implementing dispatch methods in order to construct by-value exceptions of a derived type based on an exception code. More...

#include <OgreHapticsException.h>

List of all members.

Static Public Member Functions

static DuplicateItemException create (Ogre::ExceptionCodeType< Exception::ERR_DUPLICATE_ITEM > code, const String &desc, const String &src, const char *file, long line)
static HapticsAPIException create (Ogre::ExceptionCodeType< Exception::ERR_HAPTICSAPI_ERROR > code, const String &desc, const String &src, const char *file, long line)
static InternalErrorException create (Ogre::ExceptionCodeType< Exception::ERR_INTERNAL_ERROR > code, const String &desc, const String &src, const char *file, long line)
static InvalidArgumentsException create (Ogre::ExceptionCodeType< Exception::ERR_INVALID_ARGUMENTS > code, const String &desc, const String &src, const char *file, long line)
static InvalidOperationException create (Ogre::ExceptionCodeType< Exception::ERR_INVALID_OPERATION > code, const String &desc, const String &src, const char *file, long line)
static ItemNotFoundException create (Ogre::ExceptionCodeType< Exception::ERR_ITEM_NOT_FOUND > code, const String &desc, const String &src, const char *file, long line)


Detailed Description

Class implementing dispatch methods in order to construct by-value exceptions of a derived type based on an exception code.

Remarks:
This handles the construction of derived Exceptions the same way as the Ogre::ExceptionFactory.

Definition at line 144 of file OgreHapticsException.h.


Member Function Documentation

static DuplicateItemException OgreHaptics::ExceptionFactory::create ( Ogre::ExceptionCodeType< Exception::ERR_DUPLICATE_ITEM >  code,
const String &  desc,
const String &  src,
const char *  file,
long  line 
) [static]

Definition at line 147 of file OgreHapticsException.h.

static HapticsAPIException OgreHaptics::ExceptionFactory::create ( Ogre::ExceptionCodeType< Exception::ERR_HAPTICSAPI_ERROR >  code,
const String &  desc,
const String &  src,
const char *  file,
long  line 
) [static]

Definition at line 154 of file OgreHapticsException.h.

static InternalErrorException OgreHaptics::ExceptionFactory::create ( Ogre::ExceptionCodeType< Exception::ERR_INTERNAL_ERROR >  code,
const String &  desc,
const String &  src,
const char *  file,
long  line 
) [static]

Definition at line 161 of file OgreHapticsException.h.

static InvalidArgumentsException OgreHaptics::ExceptionFactory::create ( Ogre::ExceptionCodeType< Exception::ERR_INVALID_ARGUMENTS >  code,
const String &  desc,
const String &  src,
const char *  file,
long  line 
) [static]

Definition at line 168 of file OgreHapticsException.h.

static InvalidOperationException OgreHaptics::ExceptionFactory::create ( Ogre::ExceptionCodeType< Exception::ERR_INVALID_OPERATION >  code,
const String &  desc,
const String &  src,
const char *  file,
long  line 
) [static]

Definition at line 175 of file OgreHapticsException.h.

static ItemNotFoundException OgreHaptics::ExceptionFactory::create ( Ogre::ExceptionCodeType< Exception::ERR_ITEM_NOT_FOUND >  code,
const String &  desc,
const String &  src,
const char *  file,
long  line 
) [static]

Definition at line 182 of file OgreHapticsException.h.


The documentation for this class was generated from the following file:

Last modified Tue Jan 6 22:31:26 2009