KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > orb > MinorCodes


1 /*
2  * JacORB - a free Java ORB
3  *
4  * Copyright (C) 1997-2004 Gerald Brose.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the Free
18  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19  */

20
21 package org.jacorb.orb;
22
23
24 /** Minor codes for CORBA system-exceptions. These codes are marshalled
25  * on the wire and allow the client to know the exact cause of the exception.
26  */

27
28 public final class MinorCodes {
29
30     // BAD_CONTEXT exception minor codes
31
// BAD_INV_ORDER exception minor codes
32
// BAD_OPERATION exception minor codes
33

34     // BAD_PARAM exception minor codes
35
public static final int NO_SUCH_PROFILE = 29;
36     
37     // BAD_TYPECODE exception minor codes
38
// BOUNDS exception minor codes
39
// COMM_FAILURE exception minor codes
40
// DATA_CONVERSION exception minor codes
41
// FREE_MEM exception minor codes
42
// IMP_LIMIT exception minor codes
43
// INITIALIZE exception minor codes
44
// INTF_REPOS exception minor codes
45
// INTERNAL exception minor codes
46
// INV_FLAG exception minor codes
47
// INV_IDENT exception minor codes
48
// INV_OBJREF exception minor codes
49

50     // INV_POLICY exception minor codes
51
public static final int NO_SUCH_POLICY = 3;
52     
53     // MARSHAL exception minor codes
54
// NO_MEMORY exception minor codes
55
// NO_IMPLEMENT exception minor codes
56

57     // NO_PERMISSION exception minor codes
58
public static final int SAS_CSS_FAILURE = ORBConstants.VMCID + 1;
59     public static final int SAS_ATLAS_FAILURE = ORBConstants.VMCID + 2;
60     public static final int SAS_TSS_FAILURE = ORBConstants.VMCID + 3;
61
62     // NO_RESOURCES exception minor codes
63
// NO_RESPONSE exception minor codes
64
// OBJ_ADAPTER exception minor codes
65
// OBJECT_NOT_EXIST exception minor codes
66
// PERSIST_STORE exception minor codes
67
// TRANSIENT exception minor codes
68
// UNKNOWN exception minor codes
69
} ;
70
Popular Tags