ae6f09fff3cd1e3fdb819489e215422a6e17ef10
[public/netxms.git] / src / java / client / netxms-client / src / main / java / org / netxms / client / constants / RCC.java
1 /**
2 * NetXMS - open source network management system
3 * Copyright (C) 2003-2010 Victor Kirhenshtein
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 package org.netxms.client.constants;
20
21 import org.netxms.base.CommonRCC;
22
23 /**
24 * This class represents request completion codes (RCC) sent by NetXMS server.
25 */
26 public final class RCC extends CommonRCC
27 {
28 public static final int INVALID_OBJECT_ID = 7;
29 public static final int DUPLICATE_DCI = 13;
30 public static final int INVALID_DCI_ID = 14;
31 public static final int OBJECT_CREATION_FAILED = 18;
32 public static final int OBJECT_LOOP = 19;
33 public static final int INVALID_OBJECT_NAME = 20;
34 public static final int INVALID_ALARM_ID = 21;
35 public static final int INVALID_ACTION_ID = 22;
36 public static final int DCI_COPY_ERRORS = 24;
37 public static final int INVALID_EVENT_CODE = 25;
38 public static final int NO_WOL_INTERFACES = 26;
39 public static final int NO_MAC_ADDRESS = 27;
40 public static final int INVALID_TRAP_ID = 29;
41 public static final int DCI_NOT_SUPPORTED = 30;
42 public static final int NPI_PARSE_ERROR = 32;
43 public static final int DUPLICATE_PACKAGE = 33;
44 public static final int PACKAGE_FILE_EXIST = 34;
45 public static final int RESOURCE_BUSY = 35;
46 public static final int INVALID_PACKAGE_ID = 36;
47 public static final int INVALID_IP_ADDR = 37;
48 public static final int ACTION_IN_USE = 38;
49 public static final int VARIABLE_NOT_FOUND = 39;
50 public static final int ADDRESS_IN_USE = 41;
51 public static final int EXEC_FAILED = 47;
52 public static final int INVALID_TOOL_ID = 48;
53 public static final int SNMP_ERROR = 49;
54 public static final int BAD_REGEXP = 50;
55 public static final int UNKNOWN_PARAMETER = 51;
56 public static final int FILE_IO_ERROR = 52;
57 public static final int CORRUPTED_MIB_FILE = 53;
58 public static final int INVALID_JOB_ID = 55;
59 public static final int INVALID_SCRIPT_ID = 56;
60 public static final int INVALID_SCRIPT_NAME = 57;
61 public static final int UNKNOWN_MAP_NAME = 58;
62 public static final int INVALID_MAP_ID = 59;
63 public static final int ACCOUNT_DISABLED = 60;
64 public static final int NO_GRACE_LOGINS = 61;
65 public static final int CONNECTION_BROKEN = 62;
66 public static final int INVALID_CONFIG_ID = 63;
67 public static final int DB_CONNECTION_LOST = 64;
68 public static final int ALARM_OPEN_IN_HELPDESK = 65;
69 public static final int ALARM_NOT_OUTSTANDING = 66;
70 public static final int NOT_PUSH_DCI = 67;
71 public static final int CONFIG_PARSE_ERROR = 68;
72 public static final int CONFIG_VALIDATION_ERROR = 69;
73 public static final int INVALID_GRAPH_ID = 70;
74 public static final int SNMP_FAILURE = 75;
75 public static final int NO_L2_TOPOLOGY_SUPPORT = 76;
76 public static final int INVALID_SITUATION_ID = 77;
77 public static final int INSTANCE_NOT_FOUND = 78;
78 public static final int INVALID_EVENT_ID = 79;
79 public static final int AGENT_ERROR = 80;
80 public static final int UNKNOWN_VARIABLE = 81;
81 public static final int RESOURCE_NOT_AVAILABLE = 82;
82 public static final int JOB_CANCEL_FAILED = 83;
83 public static final int INVALID_POLICY_ID = 84;
84 public static final int UNKNOWN_LOG_NAME = 85;
85 public static final int INVALID_LOG_HANDLE = 86;
86 public static final int INVALID_SESSION_HANDLE = 89;
87 public static final int CLUSTER_MEMBER_ALREADY = 90;
88 public static final int JOB_HOLD_FAILED = 91;
89 public static final int JOB_UNHOLD_FAILED = 92;
90 public static final int ZONE_ID_ALREADY_IN_USE = 93;
91 public static final int INVALID_ZONE_ID = 94;
92 public static final int ZONE_NOT_EMPTY = 95;
93 public static final int NO_COMPONENT_DATA = 96;
94 public static final int INVALID_ALARM_NOTE_ID = 97;
95 public static final int INVALID_MAPPING_TABLE_ID = 99;
96 public static final int NO_SOFTWARE_PACKAGE_DATA = 100;
97 public static final int INVALID_SUMMARY_TABLE_ID = 101;
98 public static final int USER_LOGGED_IN = 102;
99 public static final int NO_HDLINK = 108;
100 public static final int HDLINK_COMM_FAILURE = 109;
101 public static final int HDLINK_ACCESS_DENIED = 110;
102 public static final int HDLINK_INTERNAL_ERROR = 111;
103 public static final int NO_LDAP_CONNECTION = 112;
104 public static final int NO_ROUTING_TABLE = 113;
105 public static final int NO_FDB = 114;
106 public static final int NO_LOCATION_HISTORY = 115;
107 public static final int NXSL_COMPILATION_ERROR = 117;
108 public static final int NXSL_EXECUTION_ERROR = 118;
109
110 // SNMP-specific, has no corresponding RCC_xxx constants in C library
111 public static final int BAD_MIB_FILE_HEADER = 1001;
112 public static final int BAD_MIB_FILE_DATA = 1002;
113 }