Classes | Namespaces | Macros
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

 Celartem
 

Macros

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

Detailed Description

Exception Definitions.

Macro Definition Documentation

#define celThrow (   err)    throw ::Celartem::Exception((::Celartem::GeneralErrorDefinition)err, #err, __FILE__, __LINE__, __CEL_FUNCTION__)
#define celThrow2 (   err,
  str 
)    throw ::Celartem::Exception((::Celartem::GeneralErrorDefinition)err, str, __FILE__, __LINE__, __CEL_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
errAn error code defined in Celartem::GeneralErrorDefinition.
strA string that represents the details of the error status.
See Also
celThrow, Celartem::Exception

Referenced by Celartem::DataStore::get(), Celartem::DjVu::Color::getBytesPerPixel(), Celartem::DjVu::Color::getConverter(), Celartem::SimpleArray< AutoPtr< Bookmark > >::insertEmptyElementsAt(), Celartem::MemoryCopy< T, noCopy, behavior >::operator()(), Celartem::NullStream::readBytes(), Celartem::PartialStream::readBytes(), Celartem::SimpleArray< AutoPtr< Bookmark > >::remove(), and Celartem::PartialStream::writeBytes().


Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:05.
Cuminas Logo