38 |
|
|
39 |
package org.omg.PortableServer; |
package org.omg.PortableServer; |
40 |
|
|
41 |
|
import gnu.CORBA.Minor; |
42 |
|
|
43 |
import org.omg.CORBA.BAD_OPERATION; |
import org.omg.CORBA.BAD_OPERATION; |
44 |
import org.omg.CORBA.portable.IDLEntity; |
import org.omg.CORBA.portable.IDLEntity; |
45 |
|
|
141 |
} |
} |
142 |
catch (ArrayIndexOutOfBoundsException ex) |
catch (ArrayIndexOutOfBoundsException ex) |
143 |
{ |
{ |
144 |
throw new BAD_OPERATION("Invalid enumeration code " + code); |
BAD_OPERATION bad = new BAD_OPERATION("Invalid policy code " + code); |
145 |
|
bad.minor = Minor.PolicyType; |
146 |
|
throw bad; |
147 |
} |
} |
148 |
} |
} |
149 |
|
|