Advanced Strategic Command
Classes | Macros
errors.h File Reference

The (base-) classes which are thrown as exceptions. More...

#include "ascstring.h"
#include "global.h"
#include "misc.h"
Include dependency graph for errors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ASCexception
 
class  ASCmsgException
 
class  InvalidID
 
class  NoMapLoaded
 
class  ShutDownMap
 
class  OutOfRange
 
class  AssertionException
 

Macros

#define assertOrThrow(expr)   (static_cast<void> ( (expr) ? 0 : (throw AssertionException (#expr, __FILE__, __LINE__))))
 

Detailed Description

The (base-) classes which are thrown as exceptions.

Definition in file errors.h.

Macro Definition Documentation

#define assertOrThrow (   expr)    (static_cast<void> ( (expr) ? 0 : (throw AssertionException (#expr, __FILE__, __LINE__))))