exception.hpp File Reference


Detailed Description

A simple class to use as exception with string message.

Author:
Julien Jorge

Definition in file exception.hpp.

#include <exception>
#include <string>

Go to the source code of this file.

Namespaces

namespace  claw

Classes

class  claw::exception
 A simple class to use as exception with string message. More...
class  claw::bad_format
 Exception thrown when accessing bad formated data. More...

Defines

#define CLAW_EXCEPTION(m)   claw::exception( std::string(__FUNCTION__) + ": " + m )
 Create an exception and add the name of the current function to the message.


Define Documentation

#define CLAW_EXCEPTION (  )     claw::exception( std::string(__FUNCTION__) + ": " + m )

Create an exception and add the name of the current function to the message.

Parameters:
m A short description of the problem.

Definition at line 88 of file exception.hpp.

Referenced by claw::graphic::pcx::reader::check_if_pcx(), claw::graphic::png::reader::check_if_png(), claw::graphic::targa::reader::check_if_targa(), claw::graphic::png::reader::create_read_structures(), claw::graphic::png::writer::create_write_structures(), claw::graphic::jpeg::reader::decompress(), claw::graphic::pcx::reader::load_256_color_mapped(), claw::graphic::xbm::reader::read_bits_per_entry(), claw::graphic::jpeg::reader::read_data(), claw::graphic::xbm::reader::read_dim(), claw::graphic::xbm::reader::read_from_file(), claw::graphic::png::reader::read_from_file(), claw::graphic::jpeg::reader::read_from_file(), claw::graphic::xbm::reader::read_name(), claw::graphic::xbm::reader::read_pixels(), claw::graphic::xbm::reader::read_size(), claw::graphic::png::writer::save(), claw::graphic::jpeg::writer::save(), and claw::graphic::jpeg::writer::save_image().


Generated on Mon Nov 9 05:07:10 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.4.7