public static UNKNOWN read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); UNKNOWN val = new UNKNOWN(); val.minor = in.read_ulong(); val.completed = CompletionStatus.from_int(in.read_ulong()); return val; }
public UNKNOWN piUnknownUserException(CompletionStatus cs, Throwable t) { UNKNOWN exc = new UNKNOWN(PI_UNKNOWN_USER_EXCEPTION, cs); if (t != null) exc.initCause(t); if (logger.isLoggable(Level.WARNING)) { Object[] parameters = null; doLog(Level.WARNING, "OMG.piUnknownUserException", parameters, OMGSystemException.class, exc); } return exc; }
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(); _os.close(); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); UidCoordinatorOperations _localServant = (UidCoordinatorOperations)_so.servant; boolean _result;
_os.write_string(name); _os.write_long(rmid); _os.write_ulong(flags); _is = _invoke(_os); int _result = _is.read_long(); return _result; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id ); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); XASwitchOperations _localServant = (XASwitchOperations)_so.servant; int _result;
throw new BAD_PARAM(); if ( (localData != null) && (localData.type().kind().value() != TCKind._tk_null) ) if ( (threadId = localData.extract_string()) == null ) throw new UNKNOWN(jtsLogger.i18NLogger.get_orbspecific_jacorb_interceptors_context_invalidparam()); stringRef = ORBManager.getORB().orb().object_to_string(theCoordinator); Any data = ORBManager.getORB().orb().create_any(); data.insert_string(stringRef); jtsLogger.i18NLogger.warn_orbspecific_jacorb_interceptors_context_error(ex); throw new UNKNOWN(ex.toString());
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(); throw new RuntimeException("Unexpected exception " + _id ); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); CoordinatorOperations _localServant = (CoordinatorOperations)_so.servant; boolean _result;
objRef = _orb.orb().resolve_initial_references(serviceName); org.omg.CORBA.Object nsRef = _orb.orb().resolve_initial_references(Services.nameService); throw new UNKNOWN(); objRef = _orb.orb().string_to_object(ior); throw new BAD_PARAM();
throw new BAD_PARAM(); if (localData.type().kind().value() != TCKind._tk_null) if ((threadId = localData.extract_string()) == null) throw new UNKNOWN(jtsLogger.i18NLogger.get_orbspecific_javaidl_interceptors_interposition_invalidparam()); throw new UNKNOWN(ex.toString());
throw new UNKNOWN(); org.omg.CORBA.Object optr = theOrb.string_to_object(_stringifiedResourceHandle); throw new BAD_PARAM(); else
public static org.omg.CORBA.SystemException unmarshalSystemException( org.omg.CORBA.portable.InputStream in) { String id = in.read_string(); int minor = in.read_ulong(); org.omg.CORBA.CompletionStatus status = org.omg.CORBA.CompletionStatus .from_int(in.read_ulong()); return new org.omg.CORBA.BAD_PARAM(reason, minor, status); } else if (id.equals("IDL:omg.org/CORBA/NO_MEMORY:1.0")) { String reason = MinorCodes.describeNoMemory(minor); return new org.omg.CORBA.UNKNOWN(reason, minor, status);
stringRef = ctx.extract_string(); org.omg.CORBA.Object obj = ORBManager.getORB().orb().string_to_object(stringRef); Coordinator theCoordinator = org.omg.CosTransactions.CoordinatorHelper.narrow(obj); throw new BAD_PARAM(); jtsLogger.i18NLogger.warn_context_genfail("ContextManager", e2); throw new UNKNOWN(e2.toString());
org.omg.CORBA.portable.OutputStream _os = _request( "implementation", true); _os.write_string(id); _is = _invoke(_os); java.lang.String _result = org.omg.SendingContext.CodeBasePackage.URLHelper } catch (org.omg.CORBA.portable.RemarshalException _rx) { } catch (org.omg.CORBA.portable.ApplicationException _ax) { String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id); } finally { "implementation", _opsClass); if (_so == null) throw new org.omg.CORBA.UNKNOWN( "local invocations not supported!"); CodeBaseOperations _localServant = (CodeBaseOperations) _so.servant;
_os.write_string(systemDateAndTime); _is = _invoke(_os); java.lang.String _result = _is.read_string(); return _result; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id ); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); IpAppOAMOperations _localServant = (IpAppOAMOperations)_so.servant; java.lang.String _result; try
out.write_TypeCode(_ob_a0); in = _invoke(out); org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode(); return _ob_r; final String _ob_id = _ob_aex.getId(); in = _ob_aex.getInputStream(); throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
public void _write(OutputStream outstream) { String id; if (value == null) { value = new org.omg.CORBA.UNKNOWN(); id = "IDL:omg.org/CORBA/UNKNOWN"; } else { String className = value.getClass().getName(); id = "IDL:omg.org/CORBA/" + className.substring(className.lastIndexOf('.') + 1) + ":1.0"; } outstream.write_string(id); outstream.write_ulong(value.minor); outstream.write_ulong(value.completed.value()); }
org.omg.CosTransactions.CoordinatorHelper.write(_os,tx); org.omg.CosTransactions.otid_tHelper.write(_os,otid); _os.write_boolean(success); _is = _invoke(_os); return; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id ); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); BeforeCompletionCallbackOperations _localServant = (BeforeCompletionCallbackOperations)_so.servant; try
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(); _os.close(); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); ArjunaTransactionOperations _localServant = (ArjunaTransactionOperations)_so.servant; boolean _result;
_os.write_string(name); _os.write_long(rmid); _os.write_ulong(flags); _is = _invoke(_os); int _result = _is.read_long(); return _result; catch( org.omg.CORBA.portable.ApplicationException _ax ) String _id = _ax.getId(); throw new RuntimeException("Unexpected exception " + _id ); throw new org.omg.CORBA.UNKNOWN("local invocations not supported!"); XASwitchOperations _localServant = (XASwitchOperations)_so.servant; int _result;
throw new BAD_PARAM(); if (localData.type().kind().value() != TCKind._tk_null) if ((threadId = localData.extract_string()) == null) throw new UNKNOWN(jtsLogger.i18NLogger.get_orbspecific_javaidl_interceptors_context_invalidparam()); stringRef = ORBManager.getORB().orb().object_to_string(theCoordinator); Any data = ORBManager.getORB().orb().create_any(); data.insert_string(stringRef); jtsLogger.i18NLogger.warn_orbspecific_javaidl_interceptors_context_error(ex); throw new UNKNOWN(ex.toString());