39 |
package org.omg.PortableServer.POAPackage; |
package org.omg.PortableServer.POAPackage; |
40 |
|
|
41 |
import gnu.CORBA.EmptyExceptionHolder; |
import gnu.CORBA.EmptyExceptionHolder; |
42 |
|
import gnu.CORBA.Minor; |
43 |
|
|
44 |
import org.omg.CORBA.Any; |
import org.omg.CORBA.Any; |
45 |
import org.omg.CORBA.BAD_OPERATION; |
import org.omg.CORBA.BAD_OPERATION; |
108 |
catch (ClassCastException cex) |
catch (ClassCastException cex) |
109 |
{ |
{ |
110 |
BAD_OPERATION bad = new BAD_OPERATION("AdapterAlreadyExists expected"); |
BAD_OPERATION bad = new BAD_OPERATION("AdapterAlreadyExists expected"); |
111 |
|
bad.minor = Minor.Any; |
112 |
bad.initCause(cex); |
bad.initCause(cex); |
113 |
throw bad; |
throw bad; |
114 |
} |
} |