Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.omg.CosNotifyChannelAdmin;


Generated from IDL exception "AdminLimitExceeded".

Author(s):
JacORB IDL compiler V 3.5
Version:
generated at 11-Jul-2014 12:35:20
 
public abstract class AdminLimitExceededHelper
	private volatile static org.omg.CORBA.TypeCode _type;
	public static org.omg.CORBA.TypeCode type ()
	{
		if ( == null)
		{
			synchronized(AdminLimitExceededHelper.class)
			{
				if ( == null)
				{
					 = org.omg.CORBA.ORB.init().create_exception_tc(org.omg.CosNotifyChannelAdmin.AdminLimitExceededHelper.id(),"AdminLimitExceeded",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("admin_property_err", org.omg.CORBA.ORB.init().create_struct_tc(org.omg.CosNotifyChannelAdmin.AdminLimitHelper.id(),"AdminLimit",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("name", org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CosNotification.PropertyNameHelper.id(), "PropertyName",org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CosNotification.IstringHelper.id(), "Istring",org.omg.CORBA.ORB.init().create_string_tc(0))), null),new org.omg.CORBA.StructMember("value", org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CosNotification.PropertyValueHelper.id(), "PropertyValue",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(11))), null)}), null)});
				}
			}
		}
		return ;
	}
	public static void insert (final org.omg.CORBA.Any anyfinal org.omg.CosNotifyChannelAdmin.AdminLimitExceeded 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/CosNotifyChannelAdmin/AdminLimitExceeded:1.0";
	}
	{
		String id = in.read_string();
		if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id);
		x0=org.omg.CosNotifyChannelAdmin.AdminLimitHelper.read(in);
		return result;
	}
	public static void write (final org.omg.CORBA.portable.OutputStream outfinal org.omg.CosNotifyChannelAdmin.AdminLimitExceeded s)
	{
		org.omg.CosNotifyChannelAdmin.AdminLimitHelper.write(out,s.admin_property_err);
	}
New to GrepCode? Check out our FAQ X