01: /***** Copyright (c) 1999 Object Management Group. Unlimited rights to
02: duplicate and use this code are hereby granted provided that this
03: copyright notice is included.
04: *****/package org.omg.PortableServer.POAPackage;
05:
06: public final class InvalidPolicy extends org.omg.CORBA.UserException {
07:
08: public short index;
09:
10: public InvalidPolicy() {
11: super (InvalidPolicyHelper.id());
12: }
13:
14: public InvalidPolicy(short index) {
15: super (InvalidPolicyHelper.id());
16: this .index = index;
17: }
18:
19: public InvalidPolicy(String reason, short index) { // full constructor
20: super (InvalidPolicyHelper.id() + " " + reason);
21: this.index = index;
22: }
23: }
|