本文整理了Java中org.omg.CORBA.portable.InputStream.close()
方法的一些代码示例,展示了InputStream.close()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.close()
方法的具体详情如下:
包路径:org.omg.CORBA.portable.InputStream
类名称:InputStream
方法名:close
暂无
代码示例来源:origin: org.jacorb/jacorb
public static org.jacorb.tao_imr.ImplementationRepository.ActivationMode extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb
public static org.jacorb.imr.RegistrationPackage.IllegalHostName extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb
public static org.jacorb.imr.RegistrationPackage.InvalidSSDRef extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb
public static org.jacorb.tao_imr.ImplementationRepository.CannotActivate extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb
public static org.jacorb.sasPolicy.SASPolicyValues extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb
public static org.jacorb.util.tracing.TraceData extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
org.omg.CosTransactions.CoordinatorHelper.write(_os,tc);
_is = _invoke(_os);
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb-services
public static org.omg.CosNotification.PropertyError extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
org.omg.CosTransactions.CoordinatorHelper.write(_os,tc);
_is = _invoke(_os);
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb-services
public static org.omg.CosNotifyChannelAdmin.ObtainInfoMode extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
com.arjuna.ArjunaOTS.OTSAbstractRecordHelper.write(_os,record);
_is = _invoke(_os);
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb-services
public static org.omg.CosNotifyFilter.UnsupportedFilterableData extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
代码示例来源:origin: jbosstm/narayana
org.omg.CosTransactions.CoordinatorHelper.write(_os,tc);
_is = _invoke(_os);
boolean _result = _is.read_boolean();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jacorb/jacorb-services
public static org.omg.CosNotifyFilter.ConstraintInfo extract (final org.omg.CORBA.Any any)
{
org.omg.CORBA.portable.InputStream in = any.create_input_stream();
try
{
return read (in);
}
finally
{
try
{
in.close();
}
catch (java.io.IOException e)
{
throw new RuntimeException("Unexpected exception " + e.toString() );
}
}
}
内容来源于网络,如有侵权,请联系作者删除!