39 |
|
|
40 |
package org.omg.DynamicAny; |
package org.omg.DynamicAny; |
41 |
|
|
42 |
|
import gnu.CORBA.Minor; |
43 |
|
|
44 |
import org.omg.CORBA.BAD_PARAM; |
import org.omg.CORBA.BAD_PARAM; |
45 |
import org.omg.CORBA.TypeCode; |
import org.omg.CORBA.TypeCode; |
46 |
import org.omg.CORBA.ORB; |
import org.omg.CORBA.ORB; |
163 |
*/ |
*/ |
164 |
static String not_applicable(String Id) |
static String not_applicable(String Id) |
165 |
{ |
{ |
166 |
try |
MARSHAL m = new MARSHAL("The read/write are not applicable for " + Id); |
167 |
{ |
m.minor = Minor.Inappropriate; |
168 |
throw new MARSHAL("The read/write are not applicable for " + Id); |
throw m; |
|
} |
|
|
catch (Exception e) |
|
|
{ |
|
|
throw new MARSHAL(); |
|
|
} |
|
169 |
} |
} |
170 |
} |
} |