Classes | Namespaces | Defines

exception.hpp File Reference

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.

Detailed Description

A simple class to use as exception with string message.

Author:
Julien Jorge

Definition in file exception.hpp.


Define Documentation

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