PageRenderTime 68ms CodeModel.GetById 2ms app.highlight 61ms RepoModel.GetById 1ms app.codeStats 0ms

/protocols/jain-megaco/megaco-api/src/main/java/javax/megaco/ExceptionInfoCode.java

http://mobicents.googlecode.com/
Java | 863 lines | 622 code | 232 blank | 9 comment | 2 complexity | 11439cc031b016db1fbf4f02e47f6691 MD5 | raw file
  1package javax.megaco;
  2
  3/**
  4 * The ExceptionInfoCode class defines the constants for the associated info
  5 * code whenever a exception is raised. The info code would assist the
  6 * application in debugging the cause of exception, whenever it is raised. Most
  7 * of the info codes specified in this class are for the
  8 * IllegalArgumentException raised when a invalid argument is passed to a
  9 * method.
 10 * 
 11 */
 12public class ExceptionInfoCode {
 13	public static final int M_INV_IP_ADDR_FORMAT = 1;
 14	public static final int M_INV_MTP3B_ADDR_FORMAT = 2;
 15	public static final int M_INV_AAL5_ADDR_FORMAT = 3;
 16	public static final int M_INV_LOCAL_ADDR = 4;
 17	public static final int M_INV_REMOTE_ADDR = 5;
 18	public static final int M_INV_ERROR_CODE = 6;
 19	public static final int M_INV_EVT_STATUS_VAL = 7;
 20	public static final int M_INV_REQ_ID = 8;
 21	public static final int M_MISSING_EVT_PARAM = 9;
 22	public static final int M_SYNTAX_ERR_IN_SVC_CHNG_PROFILE = 10;
 23	public static final int M_MISSING_PKG_NAME = 11;
 24	public static final int M_MISSING_ITEM_NAME = 12;
 25	public static final int M_MISSING_PKG_PARAM = 13;
 26	public static final int M_MISSING_INFO_IN_OBJ = 14;
 27	public static final int M_BOTH_KA_EMBEDSIG_PRESENT = 15;
 28	public static final int M_INV_STREAM_ID = 16;
 29	public static final int M_SYNTAX_ERR_IN_DMAP_NAME = 17;
 30	public static final int M_INV_TIMER_VAL = 18;
 31	public static final int M_INV_DIGIT_VAL = 19;
 32	public static final int M_NULL_OBJ_REF_PASSED = 20;
 33	public static final int M_INV_SIGNAL_LIST_ID = 21;
 34	public static final int M_MISSING_SIGNAL_LIST_ID = 22;
 35	public static final int M_INV_OPR_ON_SIGNAL_PARAM = 23;
 36	public static final int M_INV_SIGNAL_DURATION = 24;
 37	public static final int M_BOTH_STREAM_PARAM_DESC_PRESENT = 25;
 38	public static final int M_INV_SDP_PARAM = 26;
 39	public static final int M_MISSING_MEDIA_STREAM_PARAM = 27;
 40	public static final int M_MISSING_STREAM_ID = 28;
 41	public static final int M_MISSING_EXTENSION_PARAM = 29;
 42	public static final int M_SYNTAX_ERR_IN_TERM_NAME = 30;
 43	public static final int M_INV_PROTOCOL_VERSION = 31;
 44	public static final int M_INV_DATE_STRING = 32;
 45	public static final int M_INV_TIME_STRING = 33;
 46	public static final int M_INV_MEDIA_DESC = 34;
 47	public static final int M_INV_DIGITMAP_DESC = 35;
 48	public static final int M_INV_PKG_DESC = 36;
 49	public static final int M_INV_CNTX_TERM_AUDIT_DESC = 37;
 50	public static final int M_ERROR_DESC_ALRDY_PRESENT = 38;
 51	public static final int M_TERMID_LIST_ALRDY_PRESENT = 39;
 52	public static final int M_INV_YEAR_VAL = 40;
 53	public static final int M_INV_MONTH_VAL = 41;
 54	public static final int M_INV_DAY_VAL = 42;
 55	public static final int M_INV_HOUR_VAL = 43;
 56	public static final int M_INV_MINUTES_VAL = 44;
 57	public static final int M_INV_SECONDS_VAL = 45;
 58	public static final int M_INV_ASSOCIATED_PKD_ID = 46;
 59	public static final int M_INV_PKG_ITEM_PARAM = 47;
 60	public static final int M_INV_RETURN_STATUS_VALUE = 48;
 61	public static final int M_INV_ASSOC_EVENT_TYPE = 49;
 62	public static final int M_INV_ASSOC_IND_REASON = 50;
 63	public static final int M_INV_ASSOC_STATE = 51;
 64	public static final int M_INV_ENC_FORMAT = 52;
 65	public static final int M_INV_SVC_CHNG_METHOD = 53;
 66	public static final int M_INV_SVC_CHNG_REASON = 54;
 67	public static final int M_INV_TPT_TYPE = 55;
 68	public static final int M_INV_CMD_REQ_TYPE = 56;
 69	public static final int M_INV_CMD_RESP_TYPE = 57;
 70	public static final int M_INV_CMD_TYPE = 58;
 71	public static final int M_INV_DESC_TYPE = 59;
 72	public static final int M_INV_TERM_TYPE = 60;
 73	public static final int M_INV_EVT_BUFFER_CTRL = 61;
 74	public static final int M_INV_MODEM_TYPE = 62;
 75	public static final int M_INV_MUX_TYPE = 63;
 76	public static final int M_INV_SERVICE_STATE = 64;
 77	public static final int M_INV_SIGNAL_PARAM_TYPE = 65;
 78	public static final int M_INV_SIGNAL_TYPE = 66;
 79	public static final int M_INV_STREAM_MODE = 67;
 80	public static final int M_INV_TOPOLOGY_DIR = 68;
 81	public static final int M_INV_PARAM_VAL_TYPE = 69;
 82	public static final int M_INV_PARAM_RELATION = 70;
 83	public static final int M_INV_PKG_ITEM_TYPE = 71;
 84	public static final int M_INV_PRIORITY_VAL = 72;
 85	public static final int M_DUPLICATE_DESC_IN_CMD = 73;
 86	public static final int M_MISSING_DIGIT_WITH_QUALIFIER_DOT = 74;
 87
 88	public static final ExceptionInfoCode INV_IP_ADDR_FORMAT = new ExceptionInfoCode(M_INV_IP_ADDR_FORMAT);
 89
 90	public static final ExceptionInfoCode INV_MTP3B_ADDR_FORMAT = new ExceptionInfoCode(M_INV_MTP3B_ADDR_FORMAT);
 91
 92	public static final ExceptionInfoCode INV_AAL5_ADDR_FORMAT = new ExceptionInfoCode(M_INV_AAL5_ADDR_FORMAT);
 93
 94	public static final ExceptionInfoCode INV_LOCAL_ADDR = new ExceptionInfoCode(M_INV_LOCAL_ADDR);
 95
 96	public static final ExceptionInfoCode INV_REMOTE_ADDR = new ExceptionInfoCode(M_INV_REMOTE_ADDR);
 97
 98	public static final ExceptionInfoCode INV_ERROR_CODE = new ExceptionInfoCode(M_INV_ERROR_CODE);
 99
100	public static final ExceptionInfoCode INV_EVT_STATUS_VAL = new ExceptionInfoCode(M_INV_EVT_STATUS_VAL);
101
102	public static final ExceptionInfoCode INV_REQ_ID = new ExceptionInfoCode(M_INV_REQ_ID);
103
104	public static final ExceptionInfoCode MISSING_EVT_PARAM = new ExceptionInfoCode(M_MISSING_EVT_PARAM);
105
106	public static final ExceptionInfoCode MISSING_PKG_NAME = new ExceptionInfoCode(M_MISSING_PKG_NAME);
107
108	public static final ExceptionInfoCode MISSING_ITEM_NAME = new ExceptionInfoCode(M_MISSING_ITEM_NAME);
109
110	public static final ExceptionInfoCode MISSING_PKG_PARAM = new ExceptionInfoCode(M_MISSING_PKG_PARAM);
111
112	public static final ExceptionInfoCode MISSING_INFO_IN_OBJ = new ExceptionInfoCode(M_MISSING_INFO_IN_OBJ);
113
114	public static final ExceptionInfoCode BOTH_KA_EMBEDSIG_PRESENT = new ExceptionInfoCode(M_BOTH_KA_EMBEDSIG_PRESENT);
115
116	public static final ExceptionInfoCode INV_STREAM_ID = new ExceptionInfoCode(M_INV_STREAM_ID);
117
118	public static final ExceptionInfoCode INV_TIMER_VAL = new ExceptionInfoCode(M_INV_TIMER_VAL);
119
120	public static final ExceptionInfoCode INV_DIGIT_VAL = new ExceptionInfoCode(M_INV_DIGIT_VAL);
121
122	public static final ExceptionInfoCode NULL_OBJ_REF_PASSED = new ExceptionInfoCode(M_NULL_OBJ_REF_PASSED);
123
124	public static final ExceptionInfoCode INV_SIGNAL_LIST_ID = new ExceptionInfoCode(M_INV_SIGNAL_LIST_ID);
125
126	public static final ExceptionInfoCode MISSING_SIGNAL_LIST_ID = new ExceptionInfoCode(M_MISSING_SIGNAL_LIST_ID);
127
128	public static final ExceptionInfoCode INV_OPR_ON_SIGNAL_PARAM = new ExceptionInfoCode(M_INV_OPR_ON_SIGNAL_PARAM);
129
130	public static final ExceptionInfoCode INV_SIGNAL_DURATION = new ExceptionInfoCode(M_INV_SIGNAL_DURATION);
131
132	public static final ExceptionInfoCode BOTH_STREAM_PARAM_DESC_PRESENT = new ExceptionInfoCode(M_BOTH_STREAM_PARAM_DESC_PRESENT);
133
134	public static final ExceptionInfoCode INV_SDP_PARAM = new ExceptionInfoCode(M_INV_SDP_PARAM);
135
136	public static final ExceptionInfoCode MISSING_MEDIA_STREAM_PARAM = new ExceptionInfoCode(M_MISSING_MEDIA_STREAM_PARAM);
137
138	public static final ExceptionInfoCode MISSING_STREAM_ID = new ExceptionInfoCode(M_MISSING_STREAM_ID);
139
140	public static final ExceptionInfoCode MISSING_EXTENSION_PARAM = new ExceptionInfoCode(M_MISSING_EXTENSION_PARAM);
141
142	public static final ExceptionInfoCode INV_PROTOCOL_VERSION = new ExceptionInfoCode(M_INV_PROTOCOL_VERSION);
143
144	public static final ExceptionInfoCode INV_DATE_STRING = new ExceptionInfoCode(M_INV_DATE_STRING);
145
146	public static final ExceptionInfoCode INV_TIME_STRING = new ExceptionInfoCode(M_INV_TIME_STRING);
147
148	public static final ExceptionInfoCode INV_MEDIA_DESC = new ExceptionInfoCode(M_INV_MEDIA_DESC);
149
150	public static final ExceptionInfoCode INV_DIGITMAP_DESC = new ExceptionInfoCode(M_INV_DIGITMAP_DESC);
151
152	public static final ExceptionInfoCode INV_PKG_DESC = new ExceptionInfoCode(M_INV_PKG_DESC);
153
154	public static final ExceptionInfoCode INV_CNTX_TERM_AUDIT_DESC = new ExceptionInfoCode(M_INV_CNTX_TERM_AUDIT_DESC);
155
156	public static final ExceptionInfoCode ERROR_DESC_ALRDY_PRESENT = new ExceptionInfoCode(M_ERROR_DESC_ALRDY_PRESENT);
157
158	public static final ExceptionInfoCode TERMID_LIST_ALRDY_PRESENT = new ExceptionInfoCode(M_TERMID_LIST_ALRDY_PRESENT);
159
160	public static final ExceptionInfoCode INV_YEAR_VAL = new ExceptionInfoCode(M_INV_YEAR_VAL);
161
162	public static final ExceptionInfoCode INV_MONTH_VAL = new ExceptionInfoCode(M_INV_MONTH_VAL);
163
164	public static final ExceptionInfoCode INV_DAY_VAL = new ExceptionInfoCode(M_INV_DAY_VAL);
165
166	public static final ExceptionInfoCode INV_HOUR_VAL = new ExceptionInfoCode(M_INV_HOUR_VAL);
167
168	public static final ExceptionInfoCode INV_MINUTES_VAL = new ExceptionInfoCode(M_INV_MINUTES_VAL);
169
170	public static final ExceptionInfoCode INV_SECONDS_VAL = new ExceptionInfoCode(M_INV_SECONDS_VAL);
171
172	public static final ExceptionInfoCode INV_ASSOCIATED_PKD_ID = new ExceptionInfoCode(M_INV_ASSOCIATED_PKD_ID);
173
174	public static final ExceptionInfoCode INV_PKG_ITEM_PARAM = new ExceptionInfoCode(M_INV_PKG_ITEM_PARAM);
175
176	public static final ExceptionInfoCode INV_RETURN_STATUS_VALUE = new ExceptionInfoCode(M_INV_RETURN_STATUS_VALUE);
177
178	public static final ExceptionInfoCode INV_ASSOC_EVENT_TYPE = new ExceptionInfoCode(M_INV_ASSOC_EVENT_TYPE);
179
180	public static final ExceptionInfoCode INV_ASSOC_IND_REASON = new ExceptionInfoCode(M_INV_ASSOC_IND_REASON);
181
182	public static final ExceptionInfoCode INV_ASSOC_STATE = new ExceptionInfoCode(M_INV_ASSOC_STATE);
183
184	public static final ExceptionInfoCode INV_ENC_FORMAT = new ExceptionInfoCode(M_INV_ENC_FORMAT);
185
186	public static final ExceptionInfoCode INV_SVC_CHNG_METHOD = new ExceptionInfoCode(M_INV_SVC_CHNG_METHOD);
187
188	public static final ExceptionInfoCode INV_SVC_CHNG_REASON = new ExceptionInfoCode(M_INV_SVC_CHNG_REASON);
189
190	public static final ExceptionInfoCode INV_TPT_TYPE = new ExceptionInfoCode(M_INV_TPT_TYPE);
191
192	public static final ExceptionInfoCode INV_CMD_REQ_TYPE = new ExceptionInfoCode(M_INV_CMD_REQ_TYPE);
193
194	public static final ExceptionInfoCode INV_CMD_RESP_TYPE = new ExceptionInfoCode(M_INV_CMD_RESP_TYPE);
195
196	public static final ExceptionInfoCode INV_CMD_TYPE = new ExceptionInfoCode(M_INV_CMD_TYPE);
197
198	public static final ExceptionInfoCode INV_DESC_TYPE = new ExceptionInfoCode(M_INV_DESC_TYPE);
199
200	public static final ExceptionInfoCode INV_TERM_TYPE = new ExceptionInfoCode(M_INV_TERM_TYPE);
201
202	public static final ExceptionInfoCode INV_EVT_BUFFER_CTRL = new ExceptionInfoCode(M_INV_EVT_BUFFER_CTRL);
203
204	public static final ExceptionInfoCode INV_MODEM_TYPE = new ExceptionInfoCode(M_INV_MODEM_TYPE);
205
206	public static final ExceptionInfoCode INV_MUX_TYPE = new ExceptionInfoCode(M_INV_MUX_TYPE);
207
208	public static final ExceptionInfoCode INV_SERVICE_STATE = new ExceptionInfoCode(M_INV_SERVICE_STATE);
209
210	public static final ExceptionInfoCode INV_SIGNAL_PARAM_TYPE = new ExceptionInfoCode(M_INV_SIGNAL_PARAM_TYPE);
211
212	public static final ExceptionInfoCode INV_SIGNAL_TYPE = new ExceptionInfoCode(M_INV_SIGNAL_TYPE);
213
214	public static final ExceptionInfoCode INV_STREAM_MODE = new ExceptionInfoCode(M_INV_STREAM_MODE);
215
216	public static final ExceptionInfoCode INV_TOPOLOGY_DIR = new ExceptionInfoCode(M_INV_TOPOLOGY_DIR);
217
218	public static final ExceptionInfoCode INV_PARAM_VAL_TYPE = new ExceptionInfoCode(M_INV_PARAM_VAL_TYPE);
219
220	public static final ExceptionInfoCode INV_PARAM_RELATION = new ExceptionInfoCode(M_INV_PARAM_RELATION);
221
222	public static final ExceptionInfoCode INV_PKG_ITEM_TYPE = new ExceptionInfoCode(M_INV_PKG_ITEM_TYPE);
223
224	public static final ExceptionInfoCode INV_PRIORITY_VAL = new ExceptionInfoCode(M_INV_PRIORITY_VAL);
225
226	public static final ExceptionInfoCode DUPLICATE_DESC_IN_CMD = new ExceptionInfoCode(M_DUPLICATE_DESC_IN_CMD);
227
228	public static final ExceptionInfoCode MISSING_DIGIT_WITH_QUALIFIER_DOT = new ExceptionInfoCode(M_MISSING_DIGIT_WITH_QUALIFIER_DOT);
229
230	public static final ExceptionInfoCode SYNTAX_ERR_IN_TERM_NAME = new ExceptionInfoCode(M_SYNTAX_ERR_IN_TERM_NAME);
231
232	public static final ExceptionInfoCode SYNTAX_ERR_IN_DMAP_NAME = new ExceptionInfoCode(M_SYNTAX_ERR_IN_DMAP_NAME);
233
234	public static final ExceptionInfoCode SYNTAX_ERR_IN_SVC_CHNG_PROFILE = new ExceptionInfoCode(M_SYNTAX_ERR_IN_SVC_CHNG_PROFILE);
235
236	private int info_code;
237
238	private ExceptionInfoCode(int info_code) {
239		this.info_code = info_code;
240	}
241
242	public int getExceptionInfoCode() {
243		return this.info_code;
244	}
245
246	public static final ExceptionInfoCode getObject(int value) throws IllegalArgumentException {
247		ExceptionInfoCode e = null;
248		switch (value) {
249		case M_INV_IP_ADDR_FORMAT:
250			e = INV_IP_ADDR_FORMAT;
251			break;
252
253		case M_INV_MTP3B_ADDR_FORMAT:
254			e = INV_MTP3B_ADDR_FORMAT;
255			break;
256
257		case M_INV_AAL5_ADDR_FORMAT:
258			e = INV_AAL5_ADDR_FORMAT;
259			break;
260
261		case M_INV_LOCAL_ADDR:
262			e = INV_LOCAL_ADDR;
263			break;
264
265		case M_INV_REMOTE_ADDR:
266			e = INV_REMOTE_ADDR;
267			break;
268
269		case M_INV_ERROR_CODE:
270			e = INV_ERROR_CODE;
271			break;
272
273		case M_INV_EVT_STATUS_VAL:
274			e = INV_EVT_STATUS_VAL;
275			break;
276
277		case M_INV_REQ_ID:
278			e = INV_REQ_ID;
279			break;
280
281		case M_MISSING_EVT_PARAM:
282			e = MISSING_EVT_PARAM;
283			break;
284
285		case M_SYNTAX_ERR_IN_SVC_CHNG_PROFILE:
286			e = SYNTAX_ERR_IN_SVC_CHNG_PROFILE;
287			break;
288
289		case M_MISSING_PKG_NAME:
290			e = MISSING_PKG_NAME;
291			break;
292
293		case M_MISSING_ITEM_NAME:
294			e = MISSING_ITEM_NAME;
295			break;
296
297		case M_MISSING_PKG_PARAM:
298			e = MISSING_PKG_PARAM;
299			break;
300
301		case M_MISSING_INFO_IN_OBJ:
302			e = MISSING_INFO_IN_OBJ;
303			break;
304
305		case M_BOTH_KA_EMBEDSIG_PRESENT:
306			e = BOTH_KA_EMBEDSIG_PRESENT;
307			break;
308
309		case M_INV_STREAM_ID:
310			e = INV_STREAM_ID;
311			break;
312
313		case M_SYNTAX_ERR_IN_DMAP_NAME:
314			e = SYNTAX_ERR_IN_DMAP_NAME;
315			break;
316
317		case M_INV_TIMER_VAL:
318			e = INV_TIMER_VAL;
319			break;
320
321		case M_INV_DIGIT_VAL:
322			e = INV_DIGIT_VAL;
323			break;
324
325		case M_NULL_OBJ_REF_PASSED:
326			e = NULL_OBJ_REF_PASSED;
327			break;
328
329		case M_INV_SIGNAL_LIST_ID:
330			e = INV_SIGNAL_LIST_ID;
331			break;
332
333		case M_MISSING_SIGNAL_LIST_ID:
334			e = MISSING_SIGNAL_LIST_ID;
335			break;
336
337		case M_INV_OPR_ON_SIGNAL_PARAM:
338			e = INV_OPR_ON_SIGNAL_PARAM;
339			break;
340
341		case M_INV_SIGNAL_DURATION:
342			e = INV_SIGNAL_DURATION;
343			break;
344
345		case M_BOTH_STREAM_PARAM_DESC_PRESENT:
346			e = BOTH_STREAM_PARAM_DESC_PRESENT;
347			break;
348
349		case M_INV_SDP_PARAM:
350			e = INV_SDP_PARAM;
351			break;
352
353		case M_MISSING_MEDIA_STREAM_PARAM:
354			e = MISSING_MEDIA_STREAM_PARAM;
355			break;
356
357		case M_MISSING_STREAM_ID:
358			e = MISSING_STREAM_ID;
359			break;
360
361		case M_MISSING_EXTENSION_PARAM:
362			e = MISSING_EXTENSION_PARAM;
363			break;
364
365		case M_SYNTAX_ERR_IN_TERM_NAME:
366			e = SYNTAX_ERR_IN_TERM_NAME;
367			break;
368
369		case M_INV_PROTOCOL_VERSION:
370			e = INV_PROTOCOL_VERSION;
371			break;
372
373		case M_INV_DATE_STRING:
374			e = INV_DATE_STRING;
375			break;
376
377		case M_INV_TIME_STRING:
378			e = INV_TIME_STRING;
379			break;
380
381		case M_INV_MEDIA_DESC:
382			e = INV_MEDIA_DESC;
383			break;
384
385		case M_INV_DIGITMAP_DESC:
386			e = INV_DIGITMAP_DESC;
387			break;
388
389		case M_INV_PKG_DESC:
390			e = INV_PKG_DESC;
391			break;
392
393		case M_INV_CNTX_TERM_AUDIT_DESC:
394			e = INV_CNTX_TERM_AUDIT_DESC;
395			break;
396
397		case M_ERROR_DESC_ALRDY_PRESENT:
398			e = ERROR_DESC_ALRDY_PRESENT;
399			break;
400
401		case M_TERMID_LIST_ALRDY_PRESENT:
402			e = TERMID_LIST_ALRDY_PRESENT;
403			break;
404
405		case M_INV_YEAR_VAL:
406			e = INV_YEAR_VAL;
407			break;
408
409		case M_INV_MONTH_VAL:
410			e = INV_MONTH_VAL;
411			break;
412
413		case M_INV_DAY_VAL:
414			e = INV_DAY_VAL;
415			break;
416
417		case M_INV_HOUR_VAL:
418			e = INV_HOUR_VAL;
419			break;
420
421		case M_INV_MINUTES_VAL:
422			e = INV_MINUTES_VAL;
423			break;
424
425		case M_INV_SECONDS_VAL:
426			e = INV_SECONDS_VAL;
427			break;
428
429		case M_INV_ASSOCIATED_PKD_ID:
430			e = INV_ASSOCIATED_PKD_ID;
431			break;
432
433		case M_INV_PKG_ITEM_PARAM:
434			e = INV_PKG_ITEM_PARAM;
435			break;
436
437		case M_INV_RETURN_STATUS_VALUE:
438			e = INV_RETURN_STATUS_VALUE;
439			break;
440
441		case M_INV_ASSOC_EVENT_TYPE:
442			e = INV_ASSOC_EVENT_TYPE;
443			break;
444
445		case M_INV_ASSOC_IND_REASON:
446			e = INV_ASSOC_IND_REASON;
447			break;
448
449		case M_INV_ASSOC_STATE:
450			e = INV_ASSOC_STATE;
451			break;
452
453		case M_INV_ENC_FORMAT:
454			e = INV_ENC_FORMAT;
455			break;
456
457		case M_INV_SVC_CHNG_METHOD:
458			e = INV_SVC_CHNG_METHOD;
459			break;
460
461		case M_INV_SVC_CHNG_REASON:
462			e = INV_SVC_CHNG_REASON;
463			break;
464
465		case M_INV_TPT_TYPE:
466			e = INV_TPT_TYPE;
467			break;
468
469		case M_INV_CMD_REQ_TYPE:
470			e = INV_CMD_REQ_TYPE;
471			break;
472
473		case M_INV_CMD_RESP_TYPE:
474			e = INV_CMD_RESP_TYPE;
475			break;
476
477		case M_INV_CMD_TYPE:
478			e = INV_CMD_TYPE;
479			break;
480
481		case M_INV_DESC_TYPE:
482			e = INV_DESC_TYPE;
483			break;
484
485		case M_INV_TERM_TYPE:
486			e = INV_TERM_TYPE;
487			break;
488
489		case M_INV_EVT_BUFFER_CTRL:
490			e = INV_EVT_BUFFER_CTRL;
491			break;
492
493		case M_INV_MODEM_TYPE:
494			e = INV_MODEM_TYPE;
495			break;
496
497		case M_INV_MUX_TYPE:
498			e = INV_MUX_TYPE;
499			break;
500
501		case M_INV_SERVICE_STATE:
502			e = INV_SERVICE_STATE;
503			break;
504
505		case M_INV_SIGNAL_PARAM_TYPE:
506			e = INV_SIGNAL_PARAM_TYPE;
507			break;
508
509		case M_INV_SIGNAL_TYPE:
510			e = INV_SIGNAL_TYPE;
511			break;
512
513		case M_INV_STREAM_MODE:
514			e = INV_STREAM_MODE;
515			break;
516
517		case M_INV_TOPOLOGY_DIR:
518			e = INV_TOPOLOGY_DIR;
519			break;
520
521		case M_INV_PARAM_VAL_TYPE:
522			e = INV_PARAM_VAL_TYPE;
523			break;
524
525		case M_INV_PARAM_RELATION:
526			e = INV_PARAM_RELATION;
527			break;
528
529		case M_INV_PKG_ITEM_TYPE:
530			e = INV_PKG_ITEM_TYPE;
531			break;
532
533		case M_INV_PRIORITY_VAL:
534			e = INV_PRIORITY_VAL;
535			break;
536
537		case M_DUPLICATE_DESC_IN_CMD:
538			e = DUPLICATE_DESC_IN_CMD;
539			break;
540
541		case M_MISSING_DIGIT_WITH_QUALIFIER_DOT:
542			e = MISSING_DIGIT_WITH_QUALIFIER_DOT;
543			break;
544
545		default:
546			throw new IllegalArgumentException("There is no ExceptionInfoCode for value " + value);
547		}
548
549		return e;
550	}
551
552	private Object readResolve() {
553		return this.getObject(this.info_code);
554	}
555
556	@Override
557	public String toString() {
558		String e = null;
559		switch (this.info_code) {
560		case M_INV_IP_ADDR_FORMAT:
561			e = "ExceptionInfoCode[INV_IP_ADDR_FORMAT]";
562			break;
563
564		case M_INV_MTP3B_ADDR_FORMAT:
565			e = "ExceptionInfoCode[INV_MTP3B_ADDR_FORMAT]";
566			break;
567
568		case M_INV_AAL5_ADDR_FORMAT:
569			e = "ExceptionInfoCode[INV_AAL5_ADDR_FORMAT]";
570			break;
571
572		case M_INV_LOCAL_ADDR:
573			e = "ExceptionInfoCode[INV_LOCAL_ADDR]";
574			break;
575
576		case M_INV_REMOTE_ADDR:
577			e = "ExceptionInfoCode[INV_REMOTE_ADDR]";
578			break;
579
580		case M_INV_ERROR_CODE:
581			e = "ExceptionInfoCode[INV_ERROR_CODE]";
582			break;
583
584		case M_INV_EVT_STATUS_VAL:
585			e = "ExceptionInfoCode[INV_EVT_STATUS_VAL]";
586			break;
587
588		case M_INV_REQ_ID:
589			e = "ExceptionInfoCode[INV_REQ_ID]";
590			break;
591
592		case M_MISSING_EVT_PARAM:
593			e = "ExceptionInfoCode[MISSING_EVT_PARAM]";
594			break;
595
596		case M_SYNTAX_ERR_IN_SVC_CHNG_PROFILE:
597			e = "ExceptionInfoCode[SYNTAX_ERR_IN_SVC_CHNG_PROFILE]";
598			break;
599
600		case M_MISSING_PKG_NAME:
601			e = "ExceptionInfoCode[MISSING_PKG_NAME]";
602			break;
603
604		case M_MISSING_ITEM_NAME:
605			e = "ExceptionInfoCode[MISSING_ITEM_NAME]";
606			break;
607
608		case M_MISSING_PKG_PARAM:
609			e = "ExceptionInfoCode[MISSING_PKG_PARAM]";
610			break;
611
612		case M_MISSING_INFO_IN_OBJ:
613			e = "ExceptionInfoCode[MISSING_INFO_IN_OBJ]";
614			break;
615
616		case M_BOTH_KA_EMBEDSIG_PRESENT:
617			e = "ExceptionInfoCode[BOTH_KA_EMBEDSIG_PRESENT]";
618			break;
619
620		case M_INV_STREAM_ID:
621			e = "ExceptionInfoCode[INV_STREAM_ID]";
622			break;
623
624		case M_SYNTAX_ERR_IN_DMAP_NAME:
625			e = "ExceptionInfoCode[SYNTAX_ERR_IN_DMAP_NAME]";
626			break;
627
628		case M_INV_TIMER_VAL:
629			e = "ExceptionInfoCode[INV_TIMER_VAL]";
630			break;
631
632		case M_INV_DIGIT_VAL:
633			e = "ExceptionInfoCode[INV_DIGIT_VAL]";
634			break;
635
636		case M_NULL_OBJ_REF_PASSED:
637			e = "ExceptionInfoCode[NULL_OBJ_REF_PASSED]";
638			break;
639
640		case M_INV_SIGNAL_LIST_ID:
641			e = "ExceptionInfoCode[INV_SIGNAL_LIST_ID]";
642			break;
643
644		case M_MISSING_SIGNAL_LIST_ID:
645			e = "ExceptionInfoCode[MISSING_SIGNAL_LIST_ID]";
646			break;
647
648		case M_INV_OPR_ON_SIGNAL_PARAM:
649			e = "ExceptionInfoCode[INV_OPR_ON_SIGNAL_PARAM]";
650			break;
651
652		case M_INV_SIGNAL_DURATION:
653			e = "ExceptionInfoCode[INV_SIGNAL_DURATION]";
654			break;
655
656		case M_BOTH_STREAM_PARAM_DESC_PRESENT:
657			e = "ExceptionInfoCode[BOTH_STREAM_PARAM_DESC_PRESENT]";
658			break;
659
660		case M_INV_SDP_PARAM:
661			e = "ExceptionInfoCode[INV_SDP_PARAM]";
662			break;
663
664		case M_MISSING_MEDIA_STREAM_PARAM:
665			e = "ExceptionInfoCode[MISSING_MEDIA_STREAM_PARAM]";
666			break;
667
668		case M_MISSING_STREAM_ID:
669			e = "ExceptionInfoCode[MISSING_STREAM_ID]";
670			break;
671
672		case M_MISSING_EXTENSION_PARAM:
673			e = "ExceptionInfoCode[MISSING_EXTENSION_PARAM]";
674			break;
675
676		case M_SYNTAX_ERR_IN_TERM_NAME:
677			e = "ExceptionInfoCode[SYNTAX_ERR_IN_TERM_NAME]";
678			break;
679
680		case M_INV_PROTOCOL_VERSION:
681			e = "ExceptionInfoCode[INV_PROTOCOL_VERSION]";
682			break;
683
684		case M_INV_DATE_STRING:
685			e = "ExceptionInfoCode[INV_DATE_STRING]";
686			break;
687
688		case M_INV_TIME_STRING:
689			e = "ExceptionInfoCode[INV_TIME_STRING]";
690			break;
691
692		case M_INV_MEDIA_DESC:
693			e = "ExceptionInfoCode[INV_MEDIA_DESC]";
694			break;
695
696		case M_INV_DIGITMAP_DESC:
697			e = "ExceptionInfoCode[INV_DIGITMAP_DESC]";
698			break;
699
700		case M_INV_PKG_DESC:
701			e = "ExceptionInfoCode[INV_PKG_DESC]";
702			break;
703
704		case M_INV_CNTX_TERM_AUDIT_DESC:
705			e = "ExceptionInfoCode[INV_CNTX_TERM_AUDIT_DESC]";
706			break;
707
708		case M_ERROR_DESC_ALRDY_PRESENT:
709			e = "ExceptionInfoCode[ERROR_DESC_ALRDY_PRESENT]";
710			break;
711
712		case M_TERMID_LIST_ALRDY_PRESENT:
713			e = "ExceptionInfoCode[TERMID_LIST_ALRDY_PRESENT]";
714			break;
715
716		case M_INV_YEAR_VAL:
717			e = "ExceptionInfoCode[INV_YEAR_VAL]";
718			break;
719
720		case M_INV_MONTH_VAL:
721			e = "ExceptionInfoCode[INV_MONTH_VAL]";
722			break;
723
724		case M_INV_DAY_VAL:
725			e = "ExceptionInfoCode[INV_DAY_VAL]";
726			break;
727
728		case M_INV_HOUR_VAL:
729			e = "ExceptionInfoCode[INV_HOUR_VAL]";
730			break;
731
732		case M_INV_MINUTES_VAL:
733			e = "ExceptionInfoCode[INV_MINUTES_VAL]";
734			break;
735
736		case M_INV_SECONDS_VAL:
737			e = "ExceptionInfoCode[INV_SECONDS_VAL]";
738			break;
739
740		case M_INV_ASSOCIATED_PKD_ID:
741			e = "ExceptionInfoCode[INV_ASSOCIATED_PKD_ID]";
742			break;
743
744		case M_INV_PKG_ITEM_PARAM:
745			e = "ExceptionInfoCode[INV_PKG_ITEM_PARAM]";
746			break;
747
748		case M_INV_RETURN_STATUS_VALUE:
749			e = "ExceptionInfoCode[INV_RETURN_STATUS_VALUE]";
750			break;
751
752		case M_INV_ASSOC_EVENT_TYPE:
753			e = "ExceptionInfoCode[INV_ASSOC_EVENT_TYPE]";
754			break;
755
756		case M_INV_ASSOC_IND_REASON:
757			e = "ExceptionInfoCode[INV_ASSOC_IND_REASON]";
758			break;
759
760		case M_INV_ASSOC_STATE:
761			e = "ExceptionInfoCode[INV_ASSOC_STATE]";
762			break;
763
764		case M_INV_ENC_FORMAT:
765			e = "ExceptionInfoCode[INV_ENC_FORMAT]";
766			break;
767
768		case M_INV_SVC_CHNG_METHOD:
769			e = "ExceptionInfoCode[INV_SVC_CHNG_METHOD]";
770			break;
771
772		case M_INV_SVC_CHNG_REASON:
773			e = "ExceptionInfoCode[INV_SVC_CHNG_REASON]";
774			break;
775
776		case M_INV_TPT_TYPE:
777			e = "ExceptionInfoCode[INV_TPT_TYPE]";
778			break;
779
780		case M_INV_CMD_REQ_TYPE:
781			e = "ExceptionInfoCode[INV_CMD_REQ_TYPE]";
782			break;
783
784		case M_INV_CMD_RESP_TYPE:
785			e = "ExceptionInfoCode[INV_CMD_RESP_TYPE]";
786			break;
787
788		case M_INV_CMD_TYPE:
789			e = "ExceptionInfoCode[INV_CMD_TYPE]";
790			break;
791
792		case M_INV_DESC_TYPE:
793			e = "ExceptionInfoCode[INV_DESC_TYPE]";
794			break;
795
796		case M_INV_TERM_TYPE:
797			e = "ExceptionInfoCode[INV_TERM_TYPE]";
798			break;
799
800		case M_INV_EVT_BUFFER_CTRL:
801			e = "ExceptionInfoCode[INV_EVT_BUFFER_CTRL]";
802			break;
803
804		case M_INV_MODEM_TYPE:
805			e = "ExceptionInfoCode[INV_MODEM_TYPE]";
806			break;
807
808		case M_INV_MUX_TYPE:
809			e = "ExceptionInfoCode[INV_MUX_TYPE]";
810			break;
811
812		case M_INV_SERVICE_STATE:
813			e = "ExceptionInfoCode[INV_SERVICE_STATE]";
814			break;
815
816		case M_INV_SIGNAL_PARAM_TYPE:
817			e = "ExceptionInfoCode[INV_SIGNAL_PARAM_TYPE]";
818			break;
819
820		case M_INV_SIGNAL_TYPE:
821			e = "ExceptionInfoCode[INV_SIGNAL_TYPE]";
822			break;
823
824		case M_INV_STREAM_MODE:
825			e = "ExceptionInfoCode[INV_STREAM_MODE]";
826			break;
827
828		case M_INV_TOPOLOGY_DIR:
829			e = "ExceptionInfoCode[INV_TOPOLOGY_DIR]";
830			break;
831
832		case M_INV_PARAM_VAL_TYPE:
833			e = "ExceptionInfoCode[INV_PARAM_VAL_TYPE]";
834			break;
835
836		case M_INV_PARAM_RELATION:
837			e = "ExceptionInfoCode[INV_PARAM_RELATION]";
838			break;
839
840		case M_INV_PKG_ITEM_TYPE:
841			e = "ExceptionInfoCode[INV_PKG_ITEM_TYPE]";
842			break;
843
844		case M_INV_PRIORITY_VAL:
845			e = "ExceptionInfoCode[INV_PRIORITY_VAL]";
846			break;
847
848		case M_DUPLICATE_DESC_IN_CMD:
849			e = "ExceptionInfoCode[DUPLICATE_DESC_IN_CMD]";
850			break;
851
852		case M_MISSING_DIGIT_WITH_QUALIFIER_DOT:
853			e = "ExceptionInfoCode[MISSING_DIGIT_WITH_QUALIFIER_DOT]";
854			break;
855
856		default:
857			e = "ExceptionInfoCode[" + this.info_code + "]";
858		}
859
860		return e;
861	}
862
863}