exception.h File Reference

Declaration of Exception, ExceptionFactory, and some classes inherited from Exception class. More...

#include "gpucalc/prerequisites.h"

Go to the source code of this file.

Namespaces

namespace  gpucalc
namespace  gpucalc::_workaround

Classes

class  gpucalc::_workaround::DoWarning
class  gpucalc::Exception
 When thrown, provides information about an error that has occurred inside the library. More...
class  gpucalc::ExceptionFactory
 Class implementing dispatch methods in order to construct by-value exceptions of a derived type based just on an exception code. More...
class  gpucalc::FileNotFoundException
class  gpucalc::InternalErrorException
class  gpucalc::InvalidParametersException
class  gpucalc::InvalidStateException
class  gpucalc::IOException
class  gpucalc::ItemIdentityException
class  gpucalc::RenderingAPIException
class  gpucalc::RuntimeAssertionException
class  gpucalc::SourceCompilationException
class  gpucalc::UnimplementedException
class  gpucalc::ValueNotDeletedException

Enumerations

enum  gpucalc::ExceptionCodes {
  gpucalc::ERR_CANNOT_WRITE_TO_FILE, gpucalc::ERR_INVALID_STATE, gpucalc::ERR_INVALIDPARAMS, gpucalc::ERR_RENDERINGAPI_ERROR,
  gpucalc::ERR_DUPLICATE_ITEM, gpucalc::ERR_ITEM_NOT_FOUND, gpucalc::ERR_FILE_NOT_FOUND, gpucalc::ERR_INTERNAL_ERROR,
  gpucalc::ERR_RT_ASSERTION_FAILED, gpucalc::ERR_SOURCE_COMPILATION_ERROR, gpucalc::ERR_VALUE_NOT_DELETED_ERROR, gpucalc::ERR_NOT_IMPLEMENTED
}

Functions

template<ExceptionCodes Value>
void gpucalc::Except (const Object &obj, const std::string &Description, const std::string &Source, const std::string &File, int Line)
template<ExceptionCodes Value>
void gpucalc::Except (const Object *obj, const std::string &Description, const std::string &Source, const std::string &File, int Line)
 Throw exception.
template<ExceptionCodes Value>
void gpucalc::Warning (const Object &obj, const std::string &Description, const std::string &Source, const std::string &File, int Line)
template<ExceptionCodes Value>
void gpucalc::Warning (const Object *obj, const std::string &Description, const std::string &Source, const std::string &File, int Line)


Detailed Description

Declaration of Exception, ExceptionFactory, and some classes inherited from Exception class.

Also defines mechanism for easy exception throwing.

Author:
Kutumov Alexey

OGRE Rendering Engine

Date:
2008
Version:
0.8.0

Definition in file exception.h.


Generated on Thu Mar 5 22:36:42 2009 for gpucalc by  doxygen 1.5.6