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