dtTerrain::TerrainException Class Reference

This class enumerates the different exceptions that can be thrown by terrain instances. More...

#include <terrain.h>

Inheritance diagram for dtTerrain::TerrainException:

dtUtil::Enumeration

List of all members.

Static Public Attributes

static TerrainException NULL_POINTER
 Thrown if an invalid pointer was encountered during terrain operations.
static TerrainException INVALID_RESOURCE_PATH
 Thrown if a specified resource could not be read or loaded.
static TerrainException UNSUPPORTED_DATA_FORMAT
 Thrown if the current data reader does not support the specified resource.
static TerrainException INVALID_DATA_READER
 Thrown if the terrain requires a data reader but it is currently invalid.
static TerrainException INVALID_DATA_RENDERER
 Thrown if the terrain encounters an invalid data renderer.
static TerrainException INVALID_DECORATION_LAYER
 Thrown if an invalid decoration layer is added to the terrain.

Protected Member Functions

 TerrainException (const std::string &name)
 Simple enumeration constructor.


Detailed Description

This class enumerates the different exceptions that can be thrown by terrain instances.

Constructor & Destructor Documentation

dtTerrain::TerrainException::TerrainException ( const std::string &  name  )  [inline, protected]

Simple enumeration constructor.


Member Data Documentation

TerrainException dtTerrain::TerrainException::NULL_POINTER [static]

Thrown if an invalid pointer was encountered during terrain operations.

TerrainException dtTerrain::TerrainException::INVALID_RESOURCE_PATH [static]

Thrown if a specified resource could not be read or loaded.

TerrainException dtTerrain::TerrainException::UNSUPPORTED_DATA_FORMAT [static]

Thrown if the current data reader does not support the specified resource.

TerrainException dtTerrain::TerrainException::INVALID_DATA_READER [static]

Thrown if the terrain requires a data reader but it is currently invalid.

TerrainException dtTerrain::TerrainException::INVALID_DATA_RENDERER [static]

Thrown if the terrain encounters an invalid data renderer.

TerrainException dtTerrain::TerrainException::INVALID_DECORATION_LAYER [static]

Thrown if an invalid decoration layer is added to the terrain.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008