38 |
|
|
39 |
package org.omg.CORBA; |
package org.omg.CORBA; |
40 |
|
|
41 |
import gnu.CORBA.primitiveTypeCode; |
import gnu.CORBA.Minor; |
42 |
|
import gnu.CORBA.typecodes.PrimitiveTypeCode; |
43 |
|
|
44 |
import org.omg.CORBA.portable.InputStream; |
import org.omg.CORBA.portable.InputStream; |
45 |
import org.omg.CORBA.portable.OutputStream; |
import org.omg.CORBA.portable.OutputStream; |
64 |
} |
} |
65 |
catch (ClassCastException ex) |
catch (ClassCastException ex) |
66 |
{ |
{ |
67 |
throw new BAD_OPERATION("CORBA object expected"); |
BAD_OPERATION bad = new BAD_OPERATION("CORBA object expected"); |
68 |
|
bad.minor = Minor.Any; |
69 |
|
throw bad; |
70 |
} |
} |
71 |
} |
} |
72 |
|
|