00001 package SctTestApi;
00002
00003
00011 abstract public class NoSuchFileExceptionHelper
00012 {
00013 private static String _id = "IDL:SctTestApi/NoSuchFileException:1.0";
00014
00015 public static void insert (org.omg.CORBA.Any a, SctTestApi.NoSuchFileException that)
00016 {
00017 org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
00018 a.type (type ());
00019 write (out, that);
00020 a.read_value (out.create_input_stream (), type ());
00021 }
00022
00023 public static SctTestApi.NoSuchFileException extract (org.omg.CORBA.Any a)
00024 {
00025 return read (a.create_input_stream ());
00026 }
00027
00028 private static org.omg.CORBA.TypeCode __typeCode = null;
00029 private static boolean __active = false;
00030 synchronized public static org.omg.CORBA.TypeCode type ()
00031 {
00032 if (__typeCode == null)
00033 {
00034 synchronized (org.omg.CORBA.TypeCode.class)
00035 {
00036 if (__typeCode == null)
00037 {
00038 if (__active)
00039 {
00040 return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
00041 }
00042 __active = true;
00043 org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [0];
00044 org.omg.CORBA.TypeCode _tcOf_members0 = null;
00045 __typeCode = org.omg.CORBA.ORB.init ().create_exception_tc (SctTestApi.NoSuchFileExceptionHelper.id (), "NoSuchFileException", _members0);
00046 __active = false;
00047 }
00048 }
00049 }
00050 return __typeCode;
00051 }
00052
00053 public static String id ()
00054 {
00055 return _id;
00056 }
00057
00058 public static SctTestApi.NoSuchFileException read (org.omg.CORBA.portable.InputStream istream)
00059 {
00060 SctTestApi.NoSuchFileException value = new SctTestApi.NoSuchFileException ();
00061
00062 istream.read_string ();
00063 return value;
00064 }
00065
00066 public static void write (org.omg.CORBA.portable.OutputStream ostream, SctTestApi.NoSuchFileException value)
00067 {
00068
00069 ostream.write_string (id ());
00070 }
00071
00072 }