38 |
|
|
39 |
package org.omg.CosNaming.NamingContextPackage; |
package org.omg.CosNaming.NamingContextPackage; |
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; |
79 |
} |
} |
80 |
catch (ClassCastException ex) |
catch (ClassCastException ex) |
81 |
{ |
{ |
82 |
throw new BAD_OPERATION(); |
BAD_OPERATION bad = new BAD_OPERATION(); |
83 |
|
bad.initCause(ex); |
84 |
|
bad.minor = Minor.Any; |
85 |
|
throw bad; |
86 |
} |
} |
87 |
} |
} |
88 |
|
|