KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)BAD_POLICY_VALUE.java 1.12 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 * Contains the value used to indicate a policy value that is
12 * incorrect for a valid policy type in a call to the
13 * <code>create_policy</code> method defined in the ORB class.
14 *
15 * @version 1.12 12/19/03
16 */

17 public interface BAD_POLICY_VALUE {
18     /**
19     * The value used to represent a bad policy value error
20     * in a <code>PolicyError</code> exception.
21     * @see org.omg.CORBA.PolicyError
22     */

23     final short value = (short) (3L);
24 };
25
Popular Tags