38 |
|
|
39 |
package org.omg.PortableServer; |
package org.omg.PortableServer; |
40 |
|
|
41 |
|
import gnu.CORBA.Minor; |
42 |
|
|
43 |
import org.omg.CORBA.BAD_PARAM; |
import org.omg.CORBA.BAD_PARAM; |
44 |
import org.omg.CORBA.TypeCode; |
import org.omg.CORBA.TypeCode; |
45 |
import org.omg.CORBA.ORB; |
import org.omg.CORBA.ORB; |
128 |
*/ |
*/ |
129 |
public static POA read(InputStream input) |
public static POA read(InputStream input) |
130 |
{ |
{ |
131 |
throw new MARSHAL("Not applicable"); |
MARSHAL m = new MARSHAL("Inappropriate"); |
132 |
|
m.minor = Minor.Inappropriate; |
133 |
|
throw m; |
134 |
} |
} |
135 |
|
|
136 |
/** |
/** |
146 |
*/ |
*/ |
147 |
public static void write(OutputStream output, POA value) |
public static void write(OutputStream output, POA value) |
148 |
{ |
{ |
149 |
throw new MARSHAL("Not applicable"); |
MARSHAL m = new MARSHAL("Inappropriate"); |
150 |
|
m.minor = Minor.Inappropriate; |
151 |
|
throw m; |
152 |
} |
} |
153 |
} |
} |