exceptions.h File Reference

#include <cerrno>
#include <stdexcept>
#include <string>

Include dependency graph for exceptions.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  exult_exception
class  quit_exception
class  replication_exception
class  file_exception
class  file_open_exception
class  file_write_exception
class  file_read_exception
class  wrong_file_type_exception
class  UserBreakException

Defines

#define UNREPLICATABLE_CLASS(NAME)
#define UNREPLICATABLE_CLASS_I(NAME, INIT)


Define Documentation

#define UNREPLICATABLE_CLASS ( NAME   ) 

Value:

NAME(const NAME &) { throw replication_exception( #NAME " cannot be replicated"); }; \
          NAME &operator=(const NAME &) { throw replication_exception( #NAME " cannot be replicated"); return *this; }

Definition at line 68 of file exceptions.h.

#define UNREPLICATABLE_CLASS_I ( NAME,
INIT   ) 

Value:

NAME(const NAME &) : INIT { throw replication_exception( #NAME " cannot be replicated"); }; \
          NAME &operator=(const NAME &) { throw replication_exception( #NAME " cannot be replicated"); return *this; }

Definition at line 71 of file exceptions.h.


Generated on Mon Jul 9 14:44:02 2007 for ExultEngine by  doxygen 1.5.1