Exception Definitions.
More...
#include <stdexcept>
#include "cel_error.h"
This marco throws Celartem::Exception with the specified error code.
- Parameters
-
err | An error code defined in Celartem::GeneralErrorDefinition. |
- See Also
- celThrow2, Celartem::Exception
Referenced by Celartem::DataStore::at(), Celartem::DataArray< T >::duplicate(), Celartem::Decimal::fromStrToInt(), Celartem::Hex::fromStrToInt(), Celartem::DataStore::get(), Celartem::Rational< Int >::normalize(), Celartem::AutoPtr< const Celartem::DjVu::Data >::operator->(), Celartem::Rational< Int >::operator/=(), Celartem::Thread::run(), and Celartem::DataArray< T >::swap().
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::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().