38 | | As per FDO RFC37 FdoException is going to provide a GetNativeErrorCode method, MgFdoException should also provide such a method, so that users can get the native error code of FDO exception directly, and then do some specific process regarding the native error code . |
39 | | Also, in GIS Platform API, the MgApplicationException does not have enough subclasses to indicate the actual error. Hence more specific exception classes will be added into GIS Platform. |
| 38 | As per FDO RFC37 !FdoException is going to provide a !GetNativeErrorCode method, !MgFdoException should also provide such a method, so that users can get the native error code of FDO exception directly, and then do some specific process regarding the native error code . |
| 39 | Also, in GIS Platform API, the !MgApplicationException does not have enough subclasses to indicate the actual error. Hence more specific exception classes will be added into GIS Platform. |
92 | | !MgNotConnectedException: Thrown when executing an operation that require feature source connection is connected.[[BR]] |
93 | | !MgWrongConnectionParamValueException: Thrown when connecting datastore with invalid connection parameters. [[BR]] |
94 | | !MgInsufficentPrivilegesException: Thrown when connecting a FDO data source without sufficient privileges.[[BR]] |
95 | | !MgInvalidSQLStatementException: Thrown when executing an invalid SQL statement.[[BR]] |
96 | | !MgOutOfRangePropertyValueException: Thrown when setting the property value to one which violates constraint !FdoPropertyValueConstraintRange.[[BR]] |
97 | | !MgNotUniquePropertyValueException: Thrown when setting the property value to one which isn’t unique.[[BR]] |
98 | | !MgNotInListPropertyValueException: Thrown when setting the property value to one which violates constraint !FdoPropertyValueConstraintList.[[BR]] |
99 | | !MgSchemaDoesNotExistException: Thrown when the specified schema doesn’t exist.[[BR]] |
100 | | !MgSchemaAlreadyExistsException: Thrown when creating a schema that already exists.[[BR]] |
101 | | !MgClassDoesNotExistException: Thrown when the specified class doesn’t exist.[[BR]] |
102 | | !MgClassAlreadyExistsException: Thrown when creating a class that already exists.[[BR]] |
103 | | !MgPropertyDoesNotExistException: Thrown when the specified class doesn’t exist.[[BR]] |
104 | | !MgPropertyAlreadyExistsException: Thrown when creating a class that already exists.[[BR]] |
| 92 | -!MgNotConnectedException: Thrown when executing an operation that require feature source connection is connected.[[BR]] |
| 93 | -!MgWrongConnectionParamValueException: Thrown when connecting datastore with invalid connection parameters. [[BR]] |
| 94 | -!MgInsufficentPrivilegesException: Thrown when connecting a FDO data source without sufficient privileges.[[BR]] |
| 95 | -!MgInvalidSQLStatementException: Thrown when executing an invalid SQL statement.[[BR]] |
| 96 | -!MgOutOfRangePropertyValueException: Thrown when setting the property value to one which violates constraint !FdoPropertyValueConstraintRange.[[BR]] |
| 97 | -!MgNotUniquePropertyValueException: Thrown when setting the property value to one which isn’t unique.[[BR]] |
| 98 | -!MgNotInListPropertyValueException: Thrown when setting the property value to one which violates constraint !FdoPropertyValueConstraintList.[[BR]] |
| 99 | -!MgSchemaDoesNotExistException: Thrown when the specified schema doesn’t exist.[[BR]] |
| 100 | -!MgSchemaAlreadyExistsException: Thrown when creating a schema that already exists.[[BR]] |
| 101 | -!MgClassDoesNotExistException: Thrown when the specified class doesn’t exist.[[BR]] |
| 102 | -!MgClassAlreadyExistsException: Thrown when creating a class that already exists.[[BR]] |
| 103 | -!MgPropertyDoesNotExistException: Thrown when the specified class doesn’t exist.[[BR]] |
| 104 | -!MgPropertyAlreadyExistsException: Thrown when creating a class that already exists.[[BR]] |