package files;
/**
* Generated from IDL definition of exception "no_such_file"
* @author JacORB IDL compiler
*/
public final class no_such_fileHelper
{
private static org.omg.CORBA.TypeCode _type = null;
public static org.omg.CORBA.TypeCode type ()
{
if (_type == null)
{
_type = org.omg.CORBA.ORB.init().create_exception_tc(files.no_such_fileHelper.id(),"no_such_file",new org.omg.CORBA.StructMember[0]);
}
return _type;
}
public static void insert (final org.omg.CORBA.Any any, final files.no_such_file s)
{
any.type(type());
write( any.create_output_stream(),s);
}
public static files.no_such_file extract (final org.omg.CORBA.Any any)
{
return read(any.create_input_stream());
}
public static String id()
{
return "IDL:files/no_such_file:1.0";
}
public static files.no_such_file read (final org.omg.CORBA.portable.InputStream in)
{
files.no_such_file result = new files.no_such_file();
if (!in.read_string().equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id");
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final files.no_such_file s)
{
out.write_string(id());
}
}