/[classpath]/classpath/org/omg/DynamicAny/DynAnyFactoryHelper.java
ViewVC logotype

Diff of /classpath/org/omg/DynamicAny/DynAnyFactoryHelper.java

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

revision 1.2.2.2 by gnu_andrew, Tue Aug 16 16:22:39 2005 UTC revision 1.2.2.3 by gnu_andrew, Wed Nov 2 00:44:14 2005 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
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;
# Line 80  public abstract class DynAnyFactoryHelpe Line 82  public abstract class DynAnyFactoryHelpe
82                              + " is not a DynAnyFactory");                              + " is not a DynAnyFactory");
83        }        }
84    }    }
85      
86      /**
87       * Narrow the given object to the DynAnyFactory. For the objects that are
88       * always local, this operation does not differ from the ordinary
89       * {@link #narrow} (ClassCastException will be thrown if narrowing something
90       * different).
91       *
92       * @param obj the object to cast.
93       *
94       * @return the casted DynAnyFactory.
95       *
96       * @since 1.5
97       *
98       * @see OMG issue 4158.
99       */
100      public static DynAnyFactory unchecked_narrow(org.omg.CORBA.Object obj)
101      {
102        return narrow(obj);
103      }    
104    
105    /**    /**
106     * Get the final_type code of the {@link DynAnyFactory}.     * Get the final_type code of the {@link DynAnyFactory}.
# Line 161  public abstract class DynAnyFactoryHelpe Line 182  public abstract class DynAnyFactoryHelpe
182     */     */
183    static String not_applicable(String Id)    static String not_applicable(String Id)
184    {    {
185      try      MARSHAL m = new MARSHAL("The read/write are not applicable for " + Id);
186        {      m.minor = Minor.Inappropriate;
187          throw new MARSHAL("The read/write are not applicable for " + Id);      throw m;
       }  
     catch (Exception e)  
       {  
         throw new MARSHAL();  
       }  
188    }    }
189  }  }

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.2.2.3

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