38 |
|
|
39 |
package org.omg.IOP; |
package org.omg.IOP; |
40 |
|
|
41 |
|
import gnu.CORBA.Minor; |
42 |
|
|
43 |
import org.omg.CORBA.Any; |
import org.omg.CORBA.Any; |
44 |
import org.omg.CORBA.BAD_OPERATION; |
import org.omg.CORBA.BAD_OPERATION; |
45 |
import org.omg.CORBA.ORB; |
import org.omg.CORBA.ORB; |
113 |
catch (ClassCastException cex) |
catch (ClassCastException cex) |
114 |
{ |
{ |
115 |
BAD_OPERATION bad = new BAD_OPERATION("IOR expected"); |
BAD_OPERATION bad = new BAD_OPERATION("IOR expected"); |
116 |
|
bad.minor = Minor.Any; |
117 |
bad.initCause(cex); |
bad.initCause(cex); |
118 |
throw bad; |
throw bad; |
119 |
} |
} |