corba/src/java.corba/share/classes/org/omg/CORBA/INV_POLICY.java
changeset 32688 936c391804a5
parent 25862 a5e25d68f971
child 45443 57dbb6453a4d
equal deleted inserted replaced
32550:6521875cb63e 32688:936c391804a5
    26 package org.omg.CORBA;
    26 package org.omg.CORBA;
    27 
    27 
    28 /**
    28 /**
    29  * Standard exception  thrown
    29  * Standard exception  thrown
    30  * when an invocation cannot be made because of an incompatibility between
    30  * when an invocation cannot be made because of an incompatibility between
    31  * <tt>Policy</tt> overrides that apply to the particular invocation.
    31  * {@code Policy} overrides that apply to the particular invocation.
    32  * It contains a minor code, which gives more detailed information about
    32  * It contains a minor code, which gives more detailed information about
    33  * what caused the exception, and a completion status. It may also contain
    33  * what caused the exception, and a completion status. It may also contain
    34  * a string describing the exception.
    34  * a string describing the exception.
    35  *
    35  *
    36  * @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
    36  * @see <A href="../../../../technotes/guides/idl/jidlExceptions.html">documentation on
    37  * Java&nbsp;IDL exceptions</A>
    37  * Java&nbsp;IDL exceptions</A>
    38  */
    38  */
    39 
    39 
    40 public final class INV_POLICY extends SystemException {
    40 public final class INV_POLICY extends SystemException {
    41     /**
    41     /**
    42      * Constructs a <code>INV_POLICY</code> exception with a default minor code
    42      * Constructs a {@code INV_POLICY} exception with a default minor code
    43      * of 0, a completion state of CompletionStatus.COMPLETED_NO,
    43      * of 0, a completion state of CompletionStatus.COMPLETED_NO,
    44      * and a null description.
    44      * and a null description.
    45      */
    45      */
    46     public INV_POLICY() {
    46     public INV_POLICY() {
    47         this("");
    47         this("");
    48     }
    48     }
    49 
    49 
    50     /**
    50     /**
    51      * Constructs a <code>INV_POLICY</code> exception with the
    51      * Constructs a {@code INV_POLICY} exception with the
    52      * specified description message,
    52      * specified description message,
    53      * a minor code of 0, and a completion state of COMPLETED_NO.
    53      * a minor code of 0, and a completion state of COMPLETED_NO.
    54      * @param s the String containing a detail message
    54      * @param s the String containing a detail message
    55      */
    55      */
    56     public INV_POLICY(String s) {
    56     public INV_POLICY(String s) {
    57         this(s, 0, CompletionStatus.COMPLETED_NO);
    57         this(s, 0, CompletionStatus.COMPLETED_NO);
    58     }
    58     }
    59 
    59 
    60     /**
    60     /**
    61      * Constructs a <code>INV_POLICY</code> exception with the specified
    61      * Constructs a {@code INV_POLICY} exception with the specified
    62      * minor code and completion status.
    62      * minor code and completion status.
    63      * @param minor the minor code
    63      * @param minor the minor code
    64      * @param completed the completion status
    64      * @param completed the completion status
    65      */
    65      */
    66     public INV_POLICY(int minor, CompletionStatus completed) {
    66     public INV_POLICY(int minor, CompletionStatus completed) {
    67         this("", minor, completed);
    67         this("", minor, completed);
    68     }
    68     }
    69 
    69 
    70     /**
    70     /**
    71      * Constructs a <code>INV_POLICY</code> exception with the
    71      * Constructs a {@code INV_POLICY} exception with the
    72      * specified description message, minor code, and completion status.
    72      * specified description message, minor code, and completion status.
    73      * @param s the String containing a description message
    73      * @param s the String containing a description message
    74      * @param minor the minor code
    74      * @param minor the minor code
    75      * @param completed the completion status
    75      * @param completed the completion status
    76      */
    76      */