/[classpath]/classpath/gnu/CORBA/DynAn/gnuDynValue.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/DynAn/gnuDynValue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.2 by gnu_andrew, Sat Sep 10 15:31:35 2005 UTC revision 1.1.2.3 by gnu_andrew, Wed Nov 2 00:43:25 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package gnu.CORBA.DynAn;  package gnu.CORBA.DynAn;
40    
41    import gnu.CORBA.Minor;
42  import gnu.CORBA.Unexpected;  import gnu.CORBA.Unexpected;
43    
44  import org.omg.CORBA.Any;  import org.omg.CORBA.Any;
# Line 66  import java.io.Serializable; Line 67  import java.io.Serializable;
67   *   *
68   * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)   * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
69   */   */
70  public class gnuDynValue extends abstractRecord implements DynValue,  public class gnuDynValue extends RecordAny implements DynValue,
71    Serializable    Serializable
72  {  {
73    /**    /**
# Line 243  public class gnuDynValue extends abstrac Line 244  public class gnuDynValue extends abstrac
244    /**    /**
245     * Create a new instance.     * Create a new instance.
246     */     */
247    protected abstractRecord newInstance(TypeCode oType, TypeCode aType,    protected RecordAny newInstance(TypeCode oType, TypeCode aType,
248      gnuDynAnyFactory aFactory, ORB anOrb      gnuDynAnyFactory aFactory, ORB anOrb
249    )    )
250    {    {
# Line 301  public class gnuDynValue extends abstrac Line 302  public class gnuDynValue extends abstrac
302              ValueFactory factory =              ValueFactory factory =
303                ((org.omg.CORBA_2_3.ORB) orb).lookup_value_factory(official_type.id());                ((org.omg.CORBA_2_3.ORB) orb).lookup_value_factory(official_type.id());
304              if (factory == null)              if (factory == null)
305                throw new MARSHAL("Factory for " + official_type.id() +                {
306                  " not registered."                  MARSHAL m = new MARSHAL("Factory for " + official_type.id() +
307                );                  " not registered.");
308                    m.minor = Minor.Factory;
309                    throw m;
310                  }
311    
312              OutputStream out = orb.create_output_stream();              OutputStream out = orb.create_output_stream();
313    

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26