ITK Function Reference

(V10000.1.0.60_20160308.00)
Macros
am_errors.h File Reference
#include <common/emh_const.h>

Go to the source code of this file.

Macros

#define AM_acl_is_locked   AM_ERROR_BASE + 11
 
#define AM_acl_is_not_locked   AM_ERROR_BASE + 12
 
#define AM_acl_selector_failed   AM_ERROR_BASE + 175
 
#define AM_ambiguous_name   AM_ERROR_BASE + 179
 
#define AM_cannot_edit_node   AM_ERROR_BASE + 178
 
#define AM_ERROR_BASE   EMH_AM_error_base
 
#define AM_error_null_argument_value   AM_ERROR_BASE + 184
 
#define AM_found_too_many_objects_for_reindex   AM_ERROR_BASE + 185
 
#define AM_has_been_deleted   AM_ERROR_BASE + 7
 
#define AM_internal_error   AM_ERROR_BASE + 1
 
#define AM_invalid_rule_arg   AM_ERROR_BASE + 168
 
#define AM_invalid_rule_name   AM_ERROR_BASE + 163
 
#define AM_last_change_rights   AM_ERROR_BASE + 4
 
#define AM_list_rule_args_failed   AM_ERROR_BASE + 173
 
#define AM_load_not_allowed_outside_rule   AM_ERROR_BASE + 183
 
#define AM_load_not_allowed_within_rule   AM_ERROR_BASE + 182
 
#define AM_max_err_code   AM_ERROR_BASE + 185
 
#define AM_min_err_code   AM_ERROR_BASE
 
#define AM_no_check_fn_for_data_manager   AM_ERROR_BASE + 181
 
#define AM_no_rule_for_data_manager   AM_ERROR_BASE + 180
 
#define AM_node_cut_error   AM_ERROR_BASE + 165
 
#define AM_node_inconsistent_paste   AM_ERROR_BASE + 167
 
#define AM_node_not_cut   AM_ERROR_BASE + 164
 
#define AM_node_root_exists   AM_ERROR_BASE + 166
 
#define AM_non_exclusive_login   AM_ERROR_BASE + 162
 
#define AM_not_implemented   AM_ERROR_BASE + 2
 
#define AM_not_initialised   AM_ERROR_BASE + 3
 
#define AM_not_installed   AM_ERROR_BASE + 160
 
#define AM_not_loaded   AM_ERROR_BASE + 161
 
#define AM_object_acl_on_non_pao   AM_ERROR_BASE + 176
 
#define AM_ok   0
 
#define AM_old_am_function   AM_ERROR_BASE + 177
 
#define AM_reserved_id   AM_ERROR_BASE + 172
 
#define AM_rule_failed   AM_ERROR_BASE + 169
 
#define AM_rule_not_found   AM_ERROR_BASE + 170
 
#define AM_rule_not_registered   AM_ERROR_BASE + 171
 
#define AM_validate_rule_arg_failed   AM_ERROR_BASE + 174
 
ACL tag argument checking
#define AM_bad_tag   AM_ERROR_BASE + 20
 
#define AM_bad_instance_tag   AM_ERROR_BASE + 21
 
#define AM_bad_user_tag   AM_ERROR_BASE + 22
 
#define AM_bad_group_tag   AM_ERROR_BASE + 23
 
#define AM_bad_accessor_tag   AM_ERROR_BASE + 24
 
#define AM_bad_acl_tag   AM_ERROR_BASE + 25
 
ACL access mask argument checking
#define AM_bad_access_mask   AM_ERROR_BASE + 30
 
#define AM_bad_user_access_mask   AM_ERROR_BASE + 31
 
#define AM_bad_group_access_mask   AM_ERROR_BASE + 32
 
#define AM_bad_system_access_mask   AM_ERROR_BASE + 33
 
#define AM_bad_world_access_mask   AM_ERROR_BASE + 34
 
ACL entry list size/position argument checking
#define AM_out_of_range   AM_ERROR_BASE + 40
 
#define AM_n_instances_out_of_range   AM_ERROR_BASE + 41
 
#define AM_position_out_of_range   AM_ERROR_BASE + 42
 
#define AM_source_out_of_range   AM_ERROR_BASE + 43
 
#define AM_destination_out_of_range   AM_ERROR_BASE + 44
 
#define AM_length_out_of_range   AM_ERROR_BASE + 45
 
#define AM_n_accessors_out_of_range   AM_ERROR_BASE + 46
 
#define AM_insufficient_access   AM_ERROR_BASE + 50
 
ACL editing tests
#define AM_duplicate_entry   AM_ERROR_BASE + 60
 
#define AM_control_does_not_exist   AM_ERROR_BASE + 61
 
Creating wrappers tests
#define AM_invalid_class   AM_ERROR_BASE + 70
 
#define AM_invalid_tag   AM_ERROR_BASE + 71
 
#define AM_invalid_date   AM_ERROR_BASE + 72
 
#define AM_index_out_of_range   AM_ERROR_BASE + 73
 
Convert some POM errors to AM errors
#define AM_pom_not_started   (AM_ERROR_BASE + 80)
 
#define AM_out_of_memory   (AM_ERROR_BASE + 81)
 
#define AM_timeout   (AM_ERROR_BASE + 82)
 
#define AM_database_full   (AM_ERROR_BASE + 83)
 
#define AM_access_denied   (AM_ERROR_BASE + 84)
 
#define AM_db_prevents_rollback   (AM_ERROR_BASE + 85)
 
#define AM_inst_references_unsaved   (AM_ERROR_BASE + 86)
 
#define AM_class_is_uninstantiable   (AM_ERROR_BASE + 87)
 
#define AM_inst_locked   (AM_ERROR_BASE + 88)
 
#define AM_inst_referenced   (AM_ERROR_BASE + 89)
 
#define AM_inst_selected   (AM_ERROR_BASE + 90)
 
#define AM_insufficient_privilege   (AM_ERROR_BASE + 91)
 
AM general tests
#define AM_duplicate_name   AM_ERROR_BASE + 100
 
#define AM_name_not_found   AM_ERROR_BASE + 101
 
AM Privilege class tests
#define AM_offset_not_found   AM_ERROR_BASE + 110
 
#define AM_exceeded_max_offset   AM_ERROR_BASE + 111
 
#define AM_invalid_priv_name   AM_ERROR_BASE + 112
 
AM ACL class tests
#define AM_ace_not_found   AM_ERROR_BASE + 120
 
#define AM_invalid_acl_name   AM_ERROR_BASE + 121
 
#define AM_invalid_acl_type   AM_ERROR_BASE + 125
 
AM Accessor tests
#define AM_invalid_acc_type   AM_ERROR_BASE + 130
 
#define AM_invalid_acc_class   AM_ERROR_BASE + 131
 
AM Named Tag tests
#define AM_invalid_named_tag_name   AM_ERROR_BASE + 141
 

Detailed Description

This include file contains all the error codes which may be returned by AM

Definition in file am_errors.h.

Macro Definition Documentation

#define AM_access_denied   (AM_ERROR_BASE + 84)

Cause: No privilege for operation.

Action: Check with owner of object.

Definition at line 301 of file am_errors.h.

#define AM_ace_not_found   AM_ERROR_BASE + 120

Specified accessor was not found within the specified ACL.

Definition at line 400 of file am_errors.h.

#define AM_bad_access_mask   AM_ERROR_BASE + 30

One of the access masks is invalid.

Definition at line 148 of file am_errors.h.

#define AM_bad_accessor_tag   AM_ERROR_BASE + 24

Specified tag is not a valid accessor tag.

Definition at line 131 of file am_errors.h.

#define AM_bad_acl_tag   AM_ERROR_BASE + 25

Specified tag is not a valid ACL tag.

Definition at line 136 of file am_errors.h.

#define AM_bad_group_access_mask   AM_ERROR_BASE + 32

Group access mask is invalid.

Definition at line 158 of file am_errors.h.

#define AM_bad_group_tag   AM_ERROR_BASE + 23

Specified tag is not a valid group tag.

Definition at line 126 of file am_errors.h.

#define AM_bad_instance_tag   AM_ERROR_BASE + 21

One of the specified instance tags is invalid.

Definition at line 116 of file am_errors.h.

#define AM_bad_system_access_mask   AM_ERROR_BASE + 33

System group access mask is invalid.

Definition at line 163 of file am_errors.h.

#define AM_bad_tag   AM_ERROR_BASE + 20

One of the specified tags is invalid.

Definition at line 111 of file am_errors.h.

#define AM_bad_user_access_mask   AM_ERROR_BASE + 31

User access mask is invalid.

Definition at line 153 of file am_errors.h.

#define AM_bad_user_tag   AM_ERROR_BASE + 22

Specified tag is not a valid user tag.

Definition at line 121 of file am_errors.h.

#define AM_bad_world_access_mask   AM_ERROR_BASE + 34

World access mask is invalid.

Definition at line 168 of file am_errors.h.

#define AM_class_is_uninstantiable   (AM_ERROR_BASE + 87)

Cause: Attempt to instantiate an uninstatiable class.

Action: Check log file for source of error.

Definition at line 322 of file am_errors.h.

#define AM_control_does_not_exist   AM_ERROR_BASE + 61

No entry exists for the [user/group] pair.

Definition at line 232 of file am_errors.h.

#define AM_database_full   (AM_ERROR_BASE + 83)

Cause: POM DB full.

Action: See Oracle docs to extend DB space.

Definition at line 294 of file am_errors.h.

#define AM_db_prevents_rollback   (AM_ERROR_BASE + 85)

Cause: The database has been changed since you changed it, so your operation is irreversible.

Action: Use the inverse operation explicitly to undo these changes, e.g., remove class to undo save class.

Definition at line 308 of file am_errors.h.

#define AM_destination_out_of_range   AM_ERROR_BASE + 44

Destination position was not in the range [1, length of acl].

Definition at line 200 of file am_errors.h.

#define AM_duplicate_entry   AM_ERROR_BASE + 60

An entry already exists for the specified [user/group] pair.

Definition at line 227 of file am_errors.h.

#define AM_duplicate_name   AM_ERROR_BASE + 100

Attempted edit would cause a duplicate name.

Definition at line 361 of file am_errors.h.

#define AM_exceeded_max_offset   AM_ERROR_BASE + 111

No more privileges can be created.

Definition at line 383 of file am_errors.h.

#define AM_index_out_of_range   AM_ERROR_BASE + 73

Specified index is not within the required range.

Definition at line 259 of file am_errors.h.

#define AM_inst_locked   (AM_ERROR_BASE + 88)

Cause: POM failed.

Action: Check log file for source of error.

Definition at line 329 of file am_errors.h.

#define AM_inst_referenced   (AM_ERROR_BASE + 89)

Cause: POM failed.

Action: Check log file for source of error.

Definition at line 336 of file am_errors.h.

#define AM_inst_references_unsaved   (AM_ERROR_BASE + 86)

Cause: Unsaved instance referenced.

Action: Save the referenced instances before or with the instance to be saved.

Definition at line 315 of file am_errors.h.

#define AM_inst_selected   (AM_ERROR_BASE + 90)

Cause: POM failed.

Action: Check log file for source of error.

Definition at line 343 of file am_errors.h.

#define AM_insufficient_access   AM_ERROR_BASE + 50

You do not have sufficient access rights for the attempted operation.

Definition at line 215 of file am_errors.h.

#define AM_insufficient_privilege   (AM_ERROR_BASE + 91)

You are not a user of sufficient privilege for this operation. Typically, user is not a Teamcenter Engineering system administrator

Definition at line 349 of file am_errors.h.

#define AM_invalid_acc_class   AM_ERROR_BASE + 131

Specified accessor is not of a valid accessor class.

Definition at line 429 of file am_errors.h.

#define AM_invalid_acc_type   AM_ERROR_BASE + 130

Specified type is not a valid accessor type.

Definition at line 424 of file am_errors.h.

#define AM_invalid_acl_name   AM_ERROR_BASE + 121

Specified ACL name is too long.

Definition at line 405 of file am_errors.h.

#define AM_invalid_acl_type   AM_ERROR_BASE + 125

Cause: The given acl type is not valid: must be either "RULETREE" or "WORKFLOW".

Action: Correct the type.

Definition at line 412 of file am_errors.h.

#define AM_invalid_class   AM_ERROR_BASE + 70

Specified tag is not of the correct class.

Definition at line 244 of file am_errors.h.

#define AM_invalid_date   AM_ERROR_BASE + 72

Specified date is not valid.

Definition at line 254 of file am_errors.h.

#define AM_invalid_named_tag_name   AM_ERROR_BASE + 141

Supplied name is too long.

Definition at line 441 of file am_errors.h.

#define AM_invalid_priv_name   AM_ERROR_BASE + 112

Supplied name is too long.

Definition at line 388 of file am_errors.h.

#define AM_invalid_tag   AM_ERROR_BASE + 71

Specified tag is not a valid tag.

Definition at line 249 of file am_errors.h.

#define AM_length_out_of_range   AM_ERROR_BASE + 45

Block length to move was not in the range [1, length of acl].

Definition at line 205 of file am_errors.h.

#define AM_n_accessors_out_of_range   AM_ERROR_BASE + 46

Number of accessors specified is outside the allowed limits.

Definition at line 210 of file am_errors.h.

#define AM_n_instances_out_of_range   AM_ERROR_BASE + 41

Number of instances specified was less than zero.

Definition at line 185 of file am_errors.h.

#define AM_name_not_found   AM_ERROR_BASE + 101

An object with the specified name could not be found.

Definition at line 366 of file am_errors.h.

#define AM_offset_not_found   AM_ERROR_BASE + 110

A privilege with the specified offset could not be found.

Definition at line 378 of file am_errors.h.

#define AM_out_of_memory   (AM_ERROR_BASE + 81)

Cause: POM out of memory caught in AM.

Action: Check application is freeing used memory.

Definition at line 280 of file am_errors.h.

#define AM_out_of_range   AM_ERROR_BASE + 40

A number was specified out of its valid range.

Definition at line 180 of file am_errors.h.

#define AM_pom_not_started   (AM_ERROR_BASE + 80)

Cause: POM not started

Action: Login before using AM calls.

Definition at line 273 of file am_errors.h.

#define AM_position_out_of_range   AM_ERROR_BASE + 42

A position was specified not in the range [1, length of acl].

Definition at line 190 of file am_errors.h.

#define AM_source_out_of_range   AM_ERROR_BASE + 43

Source position was not in the range [1, length of acl].

Definition at line 195 of file am_errors.h.

#define AM_timeout   (AM_ERROR_BASE + 82)

Cause: POM timeout caught.

Action: Retry operation, or setup automatic retries via POM.

Definition at line 287 of file am_errors.h.