Difference between revisions of "CAEngine::ErrorCode/zh"

(Created page with "CAEngine::ErrorCode")
 
 
(16 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
= {get} int ErrorCode =
 
= {get} int ErrorCode =
  
Returns the error code generated by the last communication with the Analytica Decision Engine
+
返回最近一次与ADE服务器通讯产生的错误代码。ErrorCode属性应该在设置和检索关键[[CAEngine/zh | CAEngine]]属性和调用CAEngine方法后检查。零错误代码表示最后的动作是成功的。
Server. The property ErrorCode should be checked after setting and retrieving critical [[CAEngine]]
 
properties and calling [[CAEngine]] methods. An ErrorCode of zero indicates the last action was
 
successful.
 
  
= Data type =
+
== 数据类型 ==
  
:integer
+
:integer(整型)
  
= Access =  
+
= 存取 =  
  
:read
+
:读取
  
= Usage =
+
== 用法 ==
  
 
  Dim x As Integer
 
  Dim x As Integer
 
  x = ADE.ErrorCode
 
  x = ADE.ErrorCode
  
= Error Codes =
+
= 错误代码 =
 
{| style="text-align:left;align:top"
 
{| style="text-align:left;align:top"
 
!0
 
!0
Line 30: Line 27:
 
|-
 
|-
 
!1
 
!1
| Unimplemented   
+
| 未执行 
 
|-
 
|-
 
!2
 
!2
| Warning    
+
| 警告    
 
|-
 
|-
 
!3
 
!3
| Lexical error    
+
| 词汇错误    
 
|-
 
|-
 
!4
 
!4
| Statement error    
+
| 语句错误    
 
|-
 
|-
 
!5
 
!5
| Expression error    
+
| 表达式错误    
 
|-
 
|-
 
!6
 
!6
| Execution error    
+
| 执行错误    
 
|-
 
|-
 
!7
 
!7
| System error    
+
| 系统错误    
 
|-
 
|-
 
!8
 
!8
| Fatal error   
+
| 严重错误 
 
|-
 
|-
 
!9
 
!9
| Undefined variable error    
+
| 未定义变量错误    
 
|-
 
|-
 
!10
 
!10
| Aborted    
+
| 终止    
 
|-
 
|-
 
!11
 
!11
| Analytica expired -- contact Lumina
+
| Analytica到期 -- 连续 Lumina
 
|-
 
|-
 
!12
 
!12
| Insufficient Memory
+
| 内存不足
 
|-
 
|-
 
!13
 
!13
Line 87: Line 84:
 
|-
 
|-
 
!20
 
!20
| Analytica is uninitialized
+
| Analytica未初始化
 
|-
 
|-
 
!21
 
!21
| Bad parameter passed   
+
| 错误参数传递 
 
|-
 
|-
 
!22
 
!22
| Value not found in index    
+
| 值在索引中未找到    
 
|-
 
|-
 
!23
 
!23
| Illegal position in index    
+
| 无效索引位置    
 
|-
 
|-
 
!24
 
!24
| Subscripts must be an array of variants    
+
| 下标必须是一个数组变量    
 
|-
 
|-
 
!25
 
!25
| Subscript cannot be accessed   
+
| 下标无法访问 
 
|-
 
|-
 
!26
 
!26
| Lower bound of subscript array inaccessible    
+
| 下标数组的下界无法获取    
 
|-
 
|-
 
!27
 
!27
| Upper bound of subscript array inaccessible    
+
| 下标数组的上界无法获取    
 
|-
 
|-
 
!28
 
!28
| Must specify at least one element in table    
+
| 最少指定表格中一个元素    
 
|-
 
|-
 
!29
 
!29
| Position specified is out of bounds    
+
| 指定位置在界限之外    
 
|-
 
|-
 
!30
 
!30
| Position does not exist   
+
| 位置不存在 
 
|-
 
|-
 
!31
 
!31
| Illegal position specified in table    
+
| 指定的表格位置无效    
 
|-
 
|-
 
!32
 
!32
| Index object not found   
+
| 索引对象未找到 
 
|-
 
|-
 
!33
 
!33
| Illegal index number specified   
+
| 指定的索引数字无效
 
|-
 
|-
 
!34
 
!34
| Definition table not found   
+
| 定义表未找到 
 
|-
 
|-
 
!35
 
!35
| Attribute could not be retrieved    
+
| 属性不能检索    
 
|-
 
|-
 
!36
 
!36
| Attribute could not be set    
+
| 属性不能设定    
 
|-
 
|-
 
!37
 
!37
| Could not retrieve result   
+
| 不能检索结果 
 
|-
 
|-
 
!38
 
!38
| Could not get result table    
+
| 无法获取结果表    
 
|-
 
|-
 
!39
 
!39
| Module/Model/Script could not be found   
+
| 没找到模块/模型/下标
 
|-
 
|-
 
!40
 
!40
| Object could not be created    
+
| 对象未能建立    
 
|-
 
|-
 
!41
 
!41
| Invalid name for object    
+
| 对象名称无效    
 
|-
 
|-
 
!42
 
!42
| Object name already in use    
+
| 对象名称已经被使用    
 
|-
 
|-
 
!43
 
!43
| Current module could not be retrieved   
+
| 当前模块不能被检索 
 
|-
 
|-
 
!44
 
!44
| Module could not be set   
+
| 模块不能被设定 
 
|-
 
|-
 
!45
 
!45
| Model could not be created    
+
| 模型不能建立    
 
|-
 
|-
 
!46
 
!46
| Model/Module could not be saved   
+
| 模型/模块无法保存
 
|-
 
|-
 
!47
 
!47
| Illegal command
+
| 无效指令
 
|-
 
|-
 
!48
 
!48
| Invalid object class
+
| 无效对象类型
 
|-
 
|-
 
!49
 
!49
| There is no model in memory to save
+
| 内存中没有要保存的模型
 
|-
 
|-
 
!50
 
!50
| Safe-array has incorrect size or number of dimensions
+
| 安全数组尺寸或者维数不正确
 
|-
 
|-
 
!51
 
!51
| Element position is non-numeric
+
| 元素位置为非数字
 
|-
 
|-
 
!52
 
!52
| Specified name is not an index of the array
+
| 指定的名称不是数组的一个索引
 
|-
 
|-
 
!53
 
!53
| Insufficient memory
+
| 内存不足
 
|-
 
|-
 
!54
 
!54
| Unrecognized MIME type
+
| 无法识别的MIME类型
 
|-
 
|-
 
!55
 
!55
| Value is not atomic
+
| 值不是基元值
 
|-
 
|-
 
!56
 
!56
| Operation allowed only on a result CATable, not on a definition table
+
| 操作只允许在结果CATable上进行,不允许在定义表上进行
 
|-
 
|-
 
!57
 
!57
| First param is not an IStream*
+
| 第一个参数不是一个IStream*
 
|-
 
|-
 
!58
 
!58
| Subscript array contains the wrong number of elements.  There should be one element for each dimension.
+
| 下标数组包含的元素数量不正确。每一个维度必须是一个元素。
 
|-
 
|-
 
!59
 
!59
| CATable is not associated with an object, so it cannot be updated
+
| CATable与对象未关联, 因此不能更新
 
|-
 
|-
 
!60
 
!60
| A result table is read-only
+
| 结果表只能读取
 
|-
 
|-
 
!61
 
!61
| Expression could not be parsed
+
| 表达式不能被解析
 
|-
 
|-
 
!62
 
!62
| Error evaluating expression
+
| 计算表达式发生错误
 
|-
 
|-
 
!63
 
!63
| GraphWidth and GraphHeight must be positive.
+
| GraphWidth(图形宽度)和 GraphHeight(图形高度)必须为正值。
 
|-
 
|-
 
!64
 
!64
| Value is atomic (not an array).  To get value, use AtomicValue method.
+
| 值是基元值(非数组) 。要获取该值,使用AtomicValue方法。
 
|-
 
|-
 
!65
 
!65
| Index value could not be computed
+
| 索引值不能被计算
 
|-
 
|-
 
!66
 
!66
| No picture stored with object
+
| 没有图片随对象保存N
 
|-
 
|-
 
!67
 
!67
| Internal picture format not supported
+
| 内部图片格式不支持
 
|-
 
|-
 
!68
 
!68
| Filename too long
+
| 文件名太长
 
|-
 
|-
 
!69
 
!69
| Result cannot be graphed.
+
| 结果不能用图形表示。
 
|-
 
|-
 
!70
 
!70
| Definition is Hidden
+
| 定义被隐藏
 
|-
 
|-
 
!71
 
!71
| The maximum number of CAEngine instances allowed by license are already in use.
+
| 已经到达许可证允许的最大CAEngine实例数量。
 
|-
 
|-
 
!72
 
!72
| Invalid license code
+
| 注册码无效
 
|-
 
|-
 
!73
 
!73
| Stale license code
+
| 注册码失效
 
|-
 
|-
 
!74
 
!74
| Expired license code
+
| 注册码到期
 
|-
 
|-
 
!75
 
!75
| No ADE license code is present. Re-install ADE.
+
| 没有ADE注册码。重新安装ADE。
 
|-
 
|-
 
!76
 
!76
| Not an application license code.
+
| 非应用程序注册码。
 
|-
 
|-
 
!77
 
!77
| Method Evaluation Time Limit exceeded
+
| 方法计算时间限制溢出
 
|-
 
|-
 
!78
 
!78
| Computation aborted
+
| 计算终止
 
|-
 
|-
 
!79
 
!79
| License Code is not valid for this computer. If the hardware or network configuration of your computer has changed, you will need to re-enter a fresh license code.  Run ""ADE.EXE /RegServer"" to re-enter. and visit http://lumina.com/ana/staleLicense.htm to freshen a stale license code.
+
| 注册码不能用于本计算机。如果你的计算机硬件或者网络配置发生了改变,你必须重新输入一个新注册码 。 运行""ADE.EXE /RegServer""重新输入。访问http://lumina.com/ana/staleLicense.htm更新失效注册码。
 
|-
 
|-
 
!80
 
!80
| Linked module not found
+
| 链接的模块未找到
 
|-
 
|-
 
!81
 
!81
| License code is not valid for 64-bit edition
+
| 注册码不能用于64位版本
 
|-
 
|-
 
!82
 
!82
| Must include at least one index to CreateDefTable
+
| CreateDefTable中最少必须包含一个索引
 
|-
 
|-
 
!83
 
!83
| Operation allowed only on a definition table, not a result table
+
| 操作只允许在定义表上进行,不允许在结果表上进行
 
|-
 
|-
 
!84
 
!84
| The license for ADE is not valid for this computer
+
| ADE许可证对此计算机无效
 
|-
 
|-
 
|}
 
|}
  
= See Also =
+
== 另请参考 ==
  
* [[CAEngine::ErrorText]]
+
* [[CAEngine::ErrorText/zh | CAEngine::ErrorText]]
* [[Analytica Decision Engine (ADE) API]]
+
* [[ADE Server Class Reference/zh | ADE API]]

Latest revision as of 06:56, 25 October 2015

ADE User Guide > ADE Server Class Reference > CAEngine

Other languages:
English • ‎中文

{get} int ErrorCode

返回最近一次与ADE服务器通讯产生的错误代码。ErrorCode属性应该在设置和检索关键 CAEngine属性和调用CAEngine方法后检查。零错误代码表示最后的动作是成功的。

数据类型

:integer(整型)

存取

读取

用法

Dim x As Integer
x = ADE.ErrorCode

错误代码

0 OK
1 未执行
2 警告
3 词汇错误
4 语句错误
5 表达式错误
6 执行错误
7 系统错误
8 严重错误
9 未定义变量错误
10 终止
11 Analytica到期 -- 连续 Lumina
12 内存不足
13
14
15
16
17
18
19
20 Analytica未初始化
21 错误参数传递
22 值在索引中未找到
23 无效索引位置
24 下标必须是一个数组变量
25 下标无法访问
26 下标数组的下界无法获取
27 下标数组的上界无法获取
28 最少指定表格中一个元素
29 指定位置在界限之外
30 位置不存在
31 指定的表格位置无效
32 索引对象未找到
33 指定的索引数字无效
34 定义表未找到
35 属性不能检索
36 属性不能设定
37 不能检索结果
38 无法获取结果表
39 没找到模块/模型/下标
40 对象未能建立
41 对象名称无效
42 对象名称已经被使用
43 当前模块不能被检索
44 模块不能被设定
45 模型不能建立
46 模型/模块无法保存
47 无效指令
48 无效对象类型
49 内存中没有要保存的模型
50 安全数组尺寸或者维数不正确
51 元素位置为非数字
52 指定的名称不是数组的一个索引
53 内存不足
54 无法识别的MIME类型
55 值不是基元值
56 操作只允许在结果CATable上进行,不允许在定义表上进行
57 第一个参数不是一个IStream*
58 下标数组包含的元素数量不正确。每一个维度必须是一个元素。
59 CATable与对象未关联, 因此不能更新
60 结果表只能读取
61 表达式不能被解析
62 计算表达式发生错误
63 GraphWidth(图形宽度)和 GraphHeight(图形高度)必须为正值。
64 值是基元值(非数组) 。要获取该值,使用AtomicValue方法。
65 索引值不能被计算
66 没有图片随对象保存N
67 内部图片格式不支持
68 文件名太长
69 结果不能用图形表示。
70 定义被隐藏
71 已经到达许可证允许的最大CAEngine实例数量。
72 注册码无效
73 注册码失效
74 注册码到期
75 没有ADE注册码。重新安装ADE。
76 非应用程序注册码。
77 方法计算时间限制溢出
78 计算终止
79 注册码不能用于本计算机。如果你的计算机硬件或者网络配置发生了改变,你必须重新输入一个新注册码 。 运行""ADE.EXE /RegServer""重新输入。访问http://lumina.com/ana/staleLicense.htm更新失效注册码。
80 链接的模块未找到
81 注册码不能用于64位版本
82 CreateDefTable中最少必须包含一个索引
83 操作只允许在定义表上进行,不允许在结果表上进行
84 ADE许可证对此计算机无效

另请参考

Comments


You are not allowed to post comments.