/[classpath]/classpath/org/omg/PortableInterceptor/CurrentHelper.java
ViewVC logotype

Diff of /classpath/org/omg/PortableInterceptor/CurrentHelper.java

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

revision 1.1 by audriusa, Sun Aug 28 11:23:37 2005 UTC revision 1.2 by audriusa, Tue Oct 4 17:58:16 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package org.omg.PortableInterceptor;  package org.omg.PortableInterceptor;
40    
41    import gnu.CORBA.Minor;
42    
43  import org.omg.CORBA.Any;  import org.omg.CORBA.Any;
44  import org.omg.CORBA.BAD_PARAM;  import org.omg.CORBA.BAD_PARAM;
45  import org.omg.CORBA.MARSHAL;  import org.omg.CORBA.MARSHAL;
# Line 133  public abstract class CurrentHelper Line 135  public abstract class CurrentHelper
135     */     */
136    public static Current read(InputStream input)    public static Current read(InputStream input)
137    {    {
138      throw new MARSHAL();      MARSHAL m = new MARSHAL("Inappropriate");
139        m.minor = Minor.Inappropriate;
140        throw m;
141    }    }
142    
143    /**    /**
# Line 145  public abstract class CurrentHelper Line 149  public abstract class CurrentHelper
149     */     */
150    public static void write(OutputStream output, Current value)    public static void write(OutputStream output, Current value)
151    {    {
152      throw new MARSHAL();      MARSHAL m = new MARSHAL("Inappropriate");
153        m.minor = Minor.Inappropriate;
154        throw m;
155    }    }
156  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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