org.omg.CosTransactions.InvalidControlHelper Maven / Gradle / Ivy
The newest version!
package org.omg.CosTransactions;
/**
* Generated from IDL exception "InvalidControl".
*
* @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 InvalidControlHelper
{
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(org.omg.CosTransactions.InvalidControlHelper.id(),"InvalidControl",new org.omg.CORBA.StructMember[0]);
}
return _type;
}
public static void insert (final org.omg.CORBA.Any any, final org.omg.CosTransactions.InvalidControl s)
{
any.type(type());
write( any.create_output_stream(),s);
}
public static org.omg.CosTransactions.InvalidControl extract (final org.omg.CORBA.Any any)
{
return read(any.create_input_stream());
}
public static String id()
{
return "IDL:omg.org/CosTransactions/InvalidControl:1.0";
}
public static org.omg.CosTransactions.InvalidControl 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 org.omg.CosTransactions.InvalidControl result = new org.omg.CosTransactions.InvalidControl(id);
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CosTransactions.InvalidControl s)
{
out.write_string(id());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy