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 |
|
|
128 |
} |
} |
129 |
catch (ArrayIndexOutOfBoundsException ex) |
catch (ArrayIndexOutOfBoundsException ex) |
130 |
{ |
{ |
131 |
throw new BAD_OPERATION("Invalid enumeration code " + code); |
BAD_OPERATION bad = new BAD_OPERATION("Invalid policy code " + code); |
132 |
|
bad.minor = Minor.PolicyType; |
133 |
|
throw bad; |
134 |
} |
} |
135 |
} |
} |
136 |
|
|