SpatialBoundsError Class Reference

#include <SpatialException.h>

Inheritance diagram for SpatialBoundsError:
Inheritance graph
Collaboration diagram for SpatialBoundsError:
Collaboration graph

List of all members.

Public Member Functions

 SpatialBoundsError (const char *what=0) throw ()
 Default and explicit constructors.
 SpatialBoundsError (const char *context, const char *array, int32 limit=-1, int32 index=-1) throw ()
 SpatialBoundsError (const SpatialBoundsError &) throw ()
 Copy constructor.

Detailed Description

SpatialException thrown on violation of array bounds. This Exception should be thrown on detection of an attempt to access elements beyond the boundaries of an array. A special constructor is provided for assembling the message from the typical components: program context, array name, violated boundary, and violating index.

Constructor & Destructor Documentation

SpatialBoundsError::SpatialBoundsError ( const char *  what = 0  )  throw ()

Default and explicit constructors.

SpatialBoundsError::SpatialBoundsError ( const char *  context,
const char *  array,
int32  limit = -1,
int32  index = -1 
) throw ()

Standard constructor. If limit and index are -1, both are considered unknown. Note that the upper limit of a zero-offset array is not the same as the number of elements.

SpatialBoundsError::SpatialBoundsError ( const SpatialBoundsError oldX  )  throw ()

Copy constructor.

The documentation for this class was generated from the following files:
Generated on Mon Oct 4 10:39:47 2010 for HtmSrc by  doxygen 1.6.3