Advanced Strategic Command
|
The (base-) classes which are thrown as exceptions. More...
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__)))) |
The (base-) classes which are thrown as exceptions.
Definition in file errors.h.
#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(), testAutoRepair(), testCargoMovement(), testCargoMovementMax(), testDiplomacy1(), testDiplomacy2(), testDiplomacy3(), testHeightChangeAI(), testHeightChangeGUI(), testJumpdrive(), testLoseMap(), testManualRepair(), testMapResizeWithMovement(), testMovement1(), testMovementFieldsReachable(), testMovementRF(), testMovementTracks(), testObjectConstruction1(), testObjectRemoval(), testPathFinding(), testPathFinding2(), testRecycling(), testresearch1(), testresearch2(), testSelfDamage(), testStreamEncoding1(), testStreamEncoding2(), testTransferControl(), testVersionIdentifier(), testView1(), testView2(), and testView3().