Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.omg.CosNotifyFilter;


Generated from IDL exception "InvalidConstraint".

Author(s):
JacORB IDL compiler V 3.5
Version:
generated at 11-Jul-2014 12:35:19
 
public abstract class InvalidConstraintHelper
	private volatile static org.omg.CORBA.TypeCode _type;
	public static org.omg.CORBA.TypeCode type ()
	{
		if ( == null)
		{
			synchronized(InvalidConstraintHelper.class)
			{
				if ( == null)
				{
					 = org.omg.CORBA.ORB.init().create_exception_tc(org.omg.CosNotifyFilter.InvalidConstraintHelper.id(),"InvalidConstraint",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("constr", org.omg.CORBA.ORB.init().create_struct_tc(org.omg.CosNotifyFilter.ConstraintExpHelper.id(),"ConstraintExp",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("event_types", org.omg.CORBA.ORB.init().create_alias_tc(org.omg.CosNotification.EventTypeSeqHelper.id(), "EventTypeSeq",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().create_struct_tc(org.omg.CosNotification.EventTypeHelper.id(),"EventType",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("domain_name", org.omg.CORBA.ORB.init().create_string_tc(0), null),new org.omg.CORBA.StructMember("type_name", org.omg.CORBA.ORB.init().create_string_tc(0), null)}))), null),new org.omg.CORBA.StructMember("constraint_expr", org.omg.CORBA.ORB.init().create_string_tc(0), null)}), null)});
				}
			}
		}
		return ;
	}
	public static void insert (final org.omg.CORBA.Any anyfinal org.omg.CosNotifyFilter.InvalidConstraint s)
	{
		any.type(type());
	}
	public static org.omg.CosNotifyFilter.InvalidConstraint extract (final org.omg.CORBA.Any any)
	{
		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/CosNotifyFilter/InvalidConstraint:1.0";
	}
	{
		String id = in.read_string();
		if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id);
		x0=org.omg.CosNotifyFilter.ConstraintExpHelper.read(in);
		return result;
	}
	public static void write (final org.omg.CORBA.portable.OutputStream outfinal org.omg.CosNotifyFilter.InvalidConstraint s)
	{
		org.omg.CosNotifyFilter.ConstraintExpHelper.write(out,s.constr);
	}
New to GrepCode? Check out our FAQ X