Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.omg.CosTrading.LinkPackage;


Generated from IDL exception "UnknownLinkName".

Author(s):
JacORB IDL compiler V 3.5
Version:
generated at 11-Jul-2014 12:35:24
 
public abstract class UnknownLinkNameHelper
	private volatile static org.omg.CORBA.TypeCode _type;
	public static org.omg.CORBA.TypeCode type ()
	{
		if ( == null)
		{
			synchronized(UnknownLinkNameHelper.class)
			{
				if ( == null)
				{
					 = org.omg.CORBA.ORB.init().create_exception_tc(org.omg.CosTrading.LinkPackage.UnknownLinkNameHelper.id(),"UnknownLinkName",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("name", org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CosTrading.LinkNameHelper.id(), "LinkName",org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CosTrading.IstringHelper.id(), "Istring",org.omg.CORBA.ORB.init().create_string_tc(0))), null)});
				}
			}
		}
		return ;
	}
	public static void insert (final org.omg.CORBA.Any anyfinal org.omg.CosTrading.LinkPackage.UnknownLinkName s)
	{
		any.type(type());
	}
	{
		try
		{
			return read (in);
		}
		finally
		{
			try
			{
				in.close();
			}
			catch (java.io.IOException e)
			{
			throw new RuntimeException("Unexpected exception " + e.toString() );
			}
		}
	}
	public static String id()
	{
		return "IDL:omg.org/CosTrading/Link/UnknownLinkName:1.0";
	}
	{
		String id = in.read_string();
		if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id);
		x0=in.read_string();
		return result;
	}
	public static void write (final org.omg.CORBA.portable.OutputStream outfinal org.omg.CosTrading.LinkPackage.UnknownLinkName s)
	{
		java.lang.String tmpResult53 = s.name;
out.write_stringtmpResult53 );
	}
New to GrepCode? Check out our FAQ X