cel_exception.h File Reference

Exception Definitions. More...

#include <stdexcept>
#include "cel_error.h"

Include dependency graph for cel_exception.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Celartem

Classes

class  Celartem::Exception

Defines

#define celThrow(err)   throw ::Celartem::Exception((::Celartem::GeneralErrorDefinition)err, #err, __FILE__, __LINE__, __FUNCTION__)
#define celThrow2(err, str)   throw ::Celartem::Exception((::Celartem::GeneralErrorDefinition)err, str, __FILE__, __LINE__, __FUNCTION__)


Detailed Description

Exception Definitions.

Definition in file cel_exception.h.


Define Documentation

#define celThrow ( err   )     throw ::Celartem::Exception((::Celartem::GeneralErrorDefinition)err, #err, __FILE__, __LINE__, __FUNCTION__)

This marco throws Celartem::Exception with the specified error code.

Parameters:
err An error code defined in Celartem::GeneralErrorDefinition.
See also:
celThrow2, Celartem::Exception

Definition at line 182 of file cel_exception.h.

Referenced by Celartem::DataStore::at(), Celartem::DataArray< T >::duplicate(), Celartem::Hex::fromStrToInt(), Celartem::DataStore::get(), Celartem::Rational< Int >::normalize(), Celartem::AutoPtr< Celartem::ColorProfile >::operator->(), Celartem::Rational< Int >::operator/=(), Celartem::Thread::run(), and Celartem::DataArray< T >::swap().

#define celThrow2 ( err,
str   )     throw ::Celartem::Exception((::Celartem::GeneralErrorDefinition)err, str, __FILE__, __LINE__, __FUNCTION__)

This marco throws Celartem::Exception with the specified error code. It is identical to celThrow except it receives one more parameter named str.

Parameters:
err An error code defined in Celartem::GeneralErrorDefinition.
str A string that represents the details of the error status.
See also:
celThrow, Celartem::Exception

Definition at line 195 of file cel_exception.h.

Referenced by Celartem::PhotometricComponents::composePhotometric(), Celartem::DataStore::get(), Celartem::SimpleArray< Celartem::AutoPtr< Celartem::Image > >::insert(), Celartem::MemoryMove< T, noCopy >::operator()(), Celartem::MemoryCopy< T, noCopy >::operator()(), Celartem::PartialStream::readBytes(), Celartem::NullStream::readBytes(), Celartem::SimpleArray< Celartem::AutoPtr< Celartem::Image > >::remove(), and Celartem::PartialStream::writeBytes().


This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:22:10 2008.