KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > ir3 > SystemExceptionMinorValues


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2000-2004 INRIA & USTL - LIFL - GOAL
5 Contact: openccm@objectweb.org
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 USA
21
22 Initial developer(s): Philippe Merle.
23 Contributor(s): Mathieu Vadet, Christophe Demarey.
24
25 ====================================================================*/

26
27 package org.objectweb.openccm.ir3;
28
29 /**
30  * Minor values for standard system exceptions.
31  *
32  * @author <a=href="Philippe.Merle@lifl.fr">Philippe Merle</a>
33  * <a=href="Mathieu.Vadet@lifl.fr">Mathieu Vadet</a>
34  *
35  * @version 0.3
36  */

37
38 public interface SystemExceptionMinorValues
39 {
40     /**
41      * Standard OMG base.
42      */

43     final public int OMGVMCID = 0x4f4d0000;
44
45     /**
46      * LIFL base.
47      * Warning: This value can be in conflict with an existing ORB provider!
48      */

49     final public int LIFLVMCID = 0x54320000;
50
51     /**
52      * For CORBA::BAD_PARAM exceptions.
53      */

54
55     final public int RidAlreadyDefined = OMGVMCID | 2;
56     final public int NameAlreadyUsed = OMGVMCID | 3;
57     final public int InvalidContainer = OMGVMCID | 4;
58     final public int NameClashInInheritedContext = OMGVMCID | 5;
59     final public int InvalidAbstractInterfaceInheritance = OMGVMCID | 11;
60
61     final public int InvalidLocalInterfaceInheritance = OMGVMCID | 12;
62
63     final public int NotLocalObject = LIFLVMCID | 1;
64     final public int NameAlreadyUsedByImmediateScope = LIFLVMCID | 2;
65     final public int NeedOnlyInParams = LIFLVMCID | 3;
66     final public int NoExceptionsForOnewayOperation = LIFLVMCID | 4;
67     final public int InvalidValueBoxType = LIFLVMCID | 5;
68
69     final public int DuplicateDeclarator = LIFLVMCID | 100;
70
71     /**
72         For CORBA::BAD_INV_ORDER exceptions.
73      */

74     final public int Dependency = OMGVMCID | 1;
75     final public int CanNotBeDestroyed = OMGVMCID | 2;
76     final public int IllegalRecursion = LIFLVMCID | 3;
77
78     /**
79      * For CORBA::INTF_REPOS exceptions.
80      */

81     final public int AmbiguousLookup = LIFLVMCID | 1;
82
83 };
84
Popular Tags