All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arjuna.ArjunaOTS.BadControlHelper Maven / Gradle / Ivy

Go to download

JBossTS - JBoss Transaction Service. JTA, JTS and XTS (WS-AT, WS-BA)

The newest version!
package com.arjuna.ArjunaOTS;


/**
 * Generated from IDL exception "BadControl".
 *
 * @author JacORB IDL compiler V 2.3.1 (JBoss patch01), 29-Jul-2009
 * @version generated at Oct 2, 2012 3:07:46 PM
 */

public final class BadControlHelper
{
	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(com.arjuna.ArjunaOTS.BadControlHelper.id(),"BadControl",new org.omg.CORBA.StructMember[0]);
		}
		return _type;
	}

	public static void insert (final org.omg.CORBA.Any any, final com.arjuna.ArjunaOTS.BadControl s)
	{
		any.type(type());
		write( any.create_output_stream(),s);
	}

	public static com.arjuna.ArjunaOTS.BadControl extract (final org.omg.CORBA.Any any)
	{
		return read(any.create_input_stream());
	}

	public static String id()
	{
		return "IDL:arjuna.com/ArjunaOTS/BadControl:1.0";
	}
	public static com.arjuna.ArjunaOTS.BadControl read (final org.omg.CORBA.portable.InputStream in)
	{
		String id = in.read_string();
		if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id);
		final com.arjuna.ArjunaOTS.BadControl result = new com.arjuna.ArjunaOTS.BadControl(id);
		return result;
	}
	public static void write (final org.omg.CORBA.portable.OutputStream out, final com.arjuna.ArjunaOTS.BadControl s)
	{
		out.write_string(id());
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy