KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)NO_IMPLEMENT.java 1.33 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  * This exception indicates that even though the operation that
12  * was invoked exists (it has an IDL definition), no implementation
13  * for that operation exists. <tt>NO_IMPLEMENT</tt> can, for
14  * example, be raised by an ORB if a client asks for an object's
15  * type definition from the interface repository, but no interface
16  * repository is provided by the ORB.<P>
17  * It contains a minor code, which gives more detailed information about
18  * what caused the exception, and a completion status. It may also contain
19  * a string describing the exception.
20  * <P>
21  * See the section <A HREF="../../../../guide/idl/jidlExceptions.html#minorcodemeanings">Minor
22  * Code Meanings</A> to see the minor codes for this exception.
23  *
24  * @version 1.17, 09/09/97
25  * @since JDK1.2
26  */

27
28 public final class NO_IMPLEMENT extends SystemException JavaDoc {
29     /**
30      * Constructs a <code>NO_IMPLEMENT</code> exception with a default minor code
31      * of 0, a completion state of CompletionStatus.COMPLETED_NO,
32      * and a null description.
33      */

34     public NO_IMPLEMENT() {
35     this("");
36     }
37
38     /**
39      * Constructs a <code>NO_IMPLEMENT</code> exception with the specified description message,
40      * a minor code of 0, and a completion state of COMPLETED_NO.
41      * @param s the String containing a description of the exception
42      */

43     public NO_IMPLEMENT(String JavaDoc s) {
44         this(s, 0, CompletionStatus.COMPLETED_NO);
45     }
46
47     /**
48      * Constructs a <code>NO_IMPLEMENT</code> exception with the specified
49      * minor code and completion status.
50      * @param minor an <code>int</code> specifying the minor code
51      * @param completed a <code>CompletionStatus</code> instance indicating
52      * the completion status
53      */

54     public NO_IMPLEMENT(int minor, CompletionStatus JavaDoc completed) {
55         this("", minor, completed);
56     }
57
58     /**
59      * Constructs a <code>NO_IMPLEMENT</code> exception with the specified description
60      * message, minor code, and completion status.
61      * @param s the String containing a description message
62      * @param minor an <code>int</code> specifying the minor code
63      * @param completed a <code>CompletionStatus</code> instance indicating
64      * the completion status
65      */

66     public NO_IMPLEMENT(String JavaDoc s, int minor, CompletionStatus JavaDoc completed) {
67         super(s, minor, completed);
68     }
69 }
70
Popular Tags