KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > INTF_REPOS


1 /*
2  * @(#)INTF_REPOS.java 1.30 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package org.omg.CORBA;
9
10 /**
11  * Exception raised
12  * when an ORB cannot reach the interface
13  * repository, or some other failure relating to the interface repository
14  * is detected.<P>
15  * It contains a minor code, which gives more detailed information about
16  * what caused the exception, and a completion status. It may also contain
17  * a string describing the exception.
18  *
19  * @see <A HREF="../../../../guide/idl/jidlExceptions.html">documentation on
20  * Java&nbsp;IDL exceptions</A>
21  * @version 1.16, 09/09/97
22  * @since JDK1.2
23  */

24
25 public final class INTF_REPOS extends SystemException JavaDoc {
26     /**
27      * Constructs an <code>INTF_REPOS</code> exception with a default minor code
28      * of 0 and a completion state of COMPLETED_NO.
29      */

30     public INTF_REPOS() {
31         this("");
32     }
33
34     /**
35      * Constructs an <code>INTF_REPOS</code> exception with the specified detail.
36      * @param s the String containing a detail message
37      */

38     public INTF_REPOS(String JavaDoc s) {
39         this(s, 0, CompletionStatus.COMPLETED_NO);
40     }
41
42     /**
43      * Constructs an <code>INTF_REPOS</code> exception with the specified
44      * minor code and completion status.
45      * @param minor the minor code
46      * @param completed the completion status
47      */

48     public INTF_REPOS(int minor, CompletionStatus JavaDoc completed) {
49         this("", minor, completed);
50     }
51
52     /**
53      * Constructs an <code>INTF_REPOS</code> exception with the specified detail
54      * message, minor code, and completion status.
55      * A detail message is a String that describes this particular exception.
56      * @param s the String containing a detail message
57      * @param minor the minor code
58      * @param completed the completion status
59      */

60     public INTF_REPOS(String JavaDoc s, int minor, CompletionStatus JavaDoc completed) {
61         super(s, minor, completed);
62     }
63 }
64
Popular Tags