A simple class to use as exception with string message. More...
#include <exception>
#include <string>
Go to the source code of this file.
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... | |
Namespaces | |
namespace | claw |
This is the main namespace. | |
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. |
A simple class to use as exception with string message.
Definition in file exception.hpp.
#define CLAW_EXCEPTION | ( | m | ) | claw::exception( std::string(__FUNCTION__) + ": " + m ) |
Create an exception and add the name of the current function to the message.
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().