# FdoSpatialContextMismatchException Class Reference

`#include <SpatialContextMismatchException.h>`

Inheritance diagram for FdoSpatialContextMismatchException:

[legend]

List of all members.

## Detailed Description

The FdoSpatialContextMismatchException class is the exception type thrown from classes editing the datastore. It derives from a language level exception class that is environment-specific. This exception is thrown whenever a command operates on a geometry whose spatial context does not match the active spatial context. The message should always mention which spatial contexts were mismatched.

Definition at line 34 of file SpatialContextMismatchException.h.

## Static Public Member Functions
static FDO_API FdoSpatialContextMismatchException * | Create (FdoString *message, FdoException *cause)
| Constructs an instance of an FdoSpatialContextMismatchException using the specified arguments.
static FDO_API FdoSpatialContextMismatchException * | Create (FdoString *message)
| Constructs an instance of an FdoSpatialContextMismatchException using the specified arguments.
static FDO_API FdoSpatialContextMismatchException * | Create ()
| Constructs a default instance of an FdoSpatialContextMismatchException.
## Protected Member Functions
virtual FDO_API void | Dispose ()
| Dispose this object.
FDO_API | FdoSpatialContextMismatchException (FdoString *message, FdoException *cause)
FDO_API | FdoSpatialContextMismatchException (FdoString *message)
FDO_API | FdoSpatialContextMismatchException ()
| Constructs a default instance of an FdoSpatialContextMismatchException.
virtual FDO_API | ~FdoSpatialContextMismatchException ()

The documentation for this class was generated from the following file:

- SpatialContextMismatchException.h