Errortype – Echelon OpenLNS User Manual

Page 246

Advertising
background image

OpenLNS Programmer's Reference

209

Syntax

classIdValue = object.ClassId

Element

Description

classIdValue

The object class of the object. The

following value is defined for the

DatabaseValidationErrorInstance

object

in the

ConstClassIds

constant:

92 lcaClassIdDatabaseValidation

ErrorInstance

object

The object to be acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

added to the API.

ErrorType

Summary

Indicates the type of error refernced by this

DatabaseValidationErrorInstance

object.

The other properties of the DatabaseValidationErrorInstance and

DatabaseValidationErrorSummary objects contain additional

information that may be useful when troubleshooting these errors. See

these objects for more information.

Availability

Local clients.

Syntax

errorType = validationObject.

ErrorType

Element

Description

errorType

The error type referenced by the

DatabaseValidationErrorInstance object.
The values that may be returned as this element,

which are contained in the

ConstDbValidationErrorType constant, are as

follows:
0 lcaDbValidationErrorOrphan

Device
An orphan AppDevice object was found in the

database. An orphan object is one that is no longer

accessible through its parent object.
1 lcaDbValidationErrorOrphan

Object
An orphan object was found in the database. An

orphan object is one that is no longer accessible

through its parent object.
2 lcaDbValidationError

DuplicateDynamicNV

Advertising