Code Enumeration

Members

Member

Value

Description

Unspecified

0

Generic exception

XercesInitError

1

Failure to initialize the Xerces-C platform

XercesParseError

2

Error fired by Xerces-C during parsing

XercesWriterError

3

Error fired by Xerces-C during writing

XercesDOMError

4

DOM-related error fired by Xerces-C platform

XPathError

5

XPath parsing or evaluation error

NoLicensedDataSources

6

Licensed data source object not present in application

DataSourceNotLoaded

7

Data source object not initialized with data

COMError

8

Returned HRESULT less than zero on a COM call

MathError

9

Some kind of math error typically divide by zero

FileNotFound

10

Specified file not found

FileReadFailed

11

Unable to read the file

FileReadOnly

12

Attempted to write to a read-only file

CannotOverwrite

13

Attempted to write to a pre-existing data source element

InvalidAssignment

14

Attempted to assign an invalid value to something

InvalidValue

15

Passed an invalid value to a method

InvalidNullValue

16

Passed an invalid null value to a method

ParseError

17

Data source XML did not parse correctly

ValidationError

18

Data source XML did not conform to schema

IncompleteSpec

19

Object in data source not fully specified

InvalidElementName

20

Identified element is not of an appropriate type

ElementMissing

21

Cannot find expected element

GCIdentifierMissing

22

Attempted to write an object without the required "GC" identifier

IdentifierMissing

23

Attempted to write an object without an identifier

IdentifierNotFound

24

Specified data source identifier not found

ReferenceMissing

25

Object reference has no identifier

ReferenceNotFound

26

Object reference not found in data source

ParameterNotFound

27

Specified collection item not found

ParameterMustExist

28

Specified parameter name not valid for this collection

ParameterPreExisting

29

Tried to create a collection item that already exists

ParameterTypeMismatch

30

Tried to get a parameter using the wrong variable type

ParametersUnset

31

Some parameters have not been set prior to use

NullInnerObject

32

Expected inner object not allocated or set

NullCoordSys

33

Expected coordinate system object not allocated

NullVerticalReference

34

Expected vertical reference object not allocated

NullProjection

35

Expected projection object not allocated

NullMathTransform

36

Expected math transform object not allocated

NullDatum

37

Expected horizontal datum object not allocated

CannotSetDatum

38

Cannot directly set the datum pointer of a projection hosted elsewhere

CannotSetProjectionClass

39

Cannot directly set the class of a projection hosted elsewhere

CannotSetTransformClass

40

Cannot directly set the class of a math transform hosted elsewhere

CannotSetShiftClass

41

Cannot directly set the class of a datum shift hosted elsewhere

CannotSetVertRefClass

42

Cannot directly set the class of a vertical reference hosted elsewhere

InPointOutOfBounds

43

Input point out of coordinate system bounds

OutPointOutOfBounds

44

Output point out of coordinate system bounds

InPointWrongType

45

Incorrect input point class type

OutPointWrongType

46

incorrect output point class type

InvalidPointOrdinate

47

Attempted to access an invalid ordinate

IndexOutOfRange

48

Attempted to access a collection item outside of it's index range

InsufficientPoints

49

Insufficient number of points to compute a math transform

UnknownClassType

50

Specified class type not implemented by GeoCalc

UnknownParameterType

51

Specified parameter type not implemented by GeoCalc

UnsupportedClassType

52

Class type not supported in its attempted use

WrongClassType

53

Attempted to cram serialized data into the wrong class

Custom

54

Custom exception, description expected in the Details string

NullPointer

55

Method was passed a null pointer parameter

MatrixSizeMismatch

56

Matrices not of the correct size to perform operation

MatrixNotSquare

57

Matrix must be square to perform operation

CannotInvertMatrix

58

The matrix cannot be inverted

GridDataError

59

Error reading grid data, likely a format issue

IllegalVerticalTransformation

60

Cannot create a valid vertical transform with current specification

CannotImportCoordinateSystem

61

Cannot import coordinate system from file/stream

CannotExportCoordinateSystem

62

Cannot export coordinate system to file/stream

ObjectNotCached

63

Object is not cached

GMLParseError

64

Error parsing GML

DupeIdentifier

65

There is already an object of this type in the DataSource with a matching identifier and code

ObjectDeleted

66

The referenced object has been deleted

CustomBaseIdentical

67

The custom and base xml files cannot be the same.

FailedSignatureCheck

68

The file has been hand-edited outside GeoCalc

XSecError

69

Error with the XML Security engine.

XSecCryptoError

70

Error with the XML Security Crypto engine.

ValueFormatError

71

Linear or Angular Value is badly formatted.

ParameterValueInvalid

72

At least one parameter value makes the operation invalid

FailedToLog

73

Attempting to log when logfile is not defined or is bad

FailedSignatureCheckCustom

74

The custom file has been hand-edited outside GeoCalc

FailedSignatureCheckView

75

The view file has been hand-edited outside GeoCalc

FailedSignatureCheckLog

76

The log file has been hand-edited outside GeoCalc

MaxExceptionCodes

77

Last value in the enumeration to define the number of codes

 

Description

The Code enumeration gives common explanations for GeoCalcExceptions.