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

Defines

#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.


Define Documentation

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

Definition at line 69 of file errors.h.

Referenced by checkSymmetry(), loadmapfromstream(), moveUnitTest(), tspfldloaders::readfields(), tspfldloaders::readmessages(), runScript(), testActions(), testAiHeliMovement1(), testAiMovement1(), testAiMovement2(), testAiMovement3(), testAiMovement4(), testAiMovement5(), testAiMovement6(), testAiMovement7(), testAiService1(), testAiService2(), testAttack1(), testAttack2(), testAttack3(), testCargoMovement(), testCargoMovementMax(), testDiplomacy1(), testDiplomacy2(), testDiplomacy3(), testHeightChangeAI(), testHeightChangeGUI(), testJumpdrive(), testLoseMap(), testMapResizeWithMovement(), testMovement1(), testMovementFieldsReachable(), testMovementRF(), testMovementTracks(), testObjectConstruction1(), testObjectRemoval(), testRecycling(), testresearch1(), testresearch2(), testStreamEncoding1(), testStreamEncoding2(), testTransferControl(), testVersionIdentifier(), testView1(), testView2(), and testView3().


Generated on Mon May 21 01:34:47 2012 for Advanced Strategic Command by  doxygen 1.5.1