Classes | Namespaces | Defines

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:

Classes

class  Celartem::Exception

Namespaces

namespace  Celartem

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.


Define Documentation

#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__)

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

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


This document is made with doxygen 1.7.1 at Thu Feb 17 2011 15:40:15.
Caminova Logo