Refine search
@Override public final MARSHAL errorParsingSASReply(final Exception e, final int minorCode, final CompletionStatus status) { final MARSHAL result = new MARSHAL(String.format(getLoggingLocale(), errorParsingSASReply$str(), e), minorCode, status); final StackTraceElement[] st = result.getStackTrace(); result.setStackTrace(Arrays.copyOfRange(st, 1, st.length)); return result; } private static final String errorRegisteringSASCurrentInitRef = "WFLYIIOP0017: Could not register initial reference for SASCurrent";
public int xa_close (String name, int rmid, int flags) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("xa_close", true); $out.write_string (name); $out.write_long (rmid); $out.write_ulong (flags); $in = _invoke ($out); int $result = $in.read_long (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return xa_close (name, rmid, flags ); } finally { _releaseReply ($in); } } // xa_close
public boolean refresh (org.omg.CORBA.Any refresh_data) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("refresh", true); $out.write_any (refresh_data); $in = _invoke ($out); boolean $result = $in.read_boolean (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return refresh (refresh_data ); } finally { _releaseReply ($in); } } // refresh
public void is_abstract (boolean newIs_abstract) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_is_abstract", true); $out.write_boolean (newIs_abstract); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { is_abstract (newIs_abstract ); } finally { _releaseReply ($in); } } // is_abstract
public org.omg.CORBA.TypeCode get_canonical_typecode (org.omg.CORBA.TypeCode tc) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("get_canonical_typecode", true); $out.write_TypeCode (tc); $in = _invoke ($out); org.omg.CORBA.TypeCode $result = $in.read_TypeCode (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return get_canonical_typecode (tc ); } finally { _releaseReply ($in); } } // get_canonical_typecode
public void length (int newLength) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_length", true); $out.write_ulong (newLength); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { length (newLength ); } finally { _releaseReply ($in); } } // length
public String sendClass(String model) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request("sendClass", true); $out.write_string(model); $in = _invoke($out); String $result = $in.read_string(); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream(); String _id = $ex.getId(); throw new org.omg.CORBA.MARSHAL(_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return sendClass(model); } finally { _releaseReply($in); } } // sendClass
public int bound () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_bound", true); $in = _invoke ($out); int $result = $in.read_ulong (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return bound ( ); } finally { _releaseReply ($in); } } // bound
public static TIMEOUT read(org.omg.CORBA.portable.InputStream in) { if (!id().equals(in.read_string())) throw new MARSHAL(); TIMEOUT val = new TIMEOUT(); val.minor = in.read_ulong(); val.completed = CompletionStatus.from_int(in.read_ulong()); return val; }
public static org.jacorb.imr.RegistrationPackage.IllegalHostName 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); java.lang.String x0; x0=in.read_string(); final org.jacorb.imr.RegistrationPackage.IllegalHostName result = new org.jacorb.imr.RegistrationPackage.IllegalHostName(id, x0); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.jacorb.imr.RegistrationPackage.IllegalHostName s)
public static void write(org.omg.CORBA.portable.OutputStream out, MessageHeader_1_1 val) { int len0 = val.magic.length; if(len0 != 4) throw new org.omg.CORBA.MARSHAL(); out.write_char_array(val.magic, 0, len0); VersionHelper.write(out, val.GIOP_version); out.write_octet(val.flags); out.write_octet(val.message_type); out.write_ulong(val.message_size); } }
public static void write (final org.omg.CORBA.portable.OutputStream _out, byte[] _s) { if (_s.length > 252) throw new org.omg.CORBA.MARSHAL("Incorrect sequence length"); _out.write_long(_s.length); _out.write_octet_array(_s,0,_s.length); } }
public MARSHAL wcharBadGiopVersionSent(CompletionStatus cs, Throwable t) { MARSHAL exc = new MARSHAL(WCHAR_BAD_GIOP_VERSION_SENT, cs); if (t != null) exc.initCause(t); if (logger.isLoggable(Level.WARNING)) { Object[] parameters = null; doLog(Level.WARNING, "OMG.wcharBadGiopVersionSent", parameters, OMGSystemException.class, exc); } return exc; }
public void forget () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("forget", true); $in = _invoke ($out); } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { forget (); } finally { _releaseReply ($in); } } // forget
public void scale (short newScale) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_scale", true); $out.write_short (newScale); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { scale (newScale ); } finally { _releaseReply ($in); } } // scale
public void digits (short newDigits) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_digits", true); $out.write_ushort (newDigits); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { digits (newDigits ); } finally { _releaseReply ($in); } } // digits
public static ForwardRequest read(org.omg.CORBA.portable.InputStream in) { if(!id().equals(in.read_string())) throw new org.omg.CORBA.MARSHAL(); ForwardRequest _ob_v = new ForwardRequest(); _ob_v.forward = in.read_Object(); return _ob_v; }
public static void write (final org.omg.CORBA.portable.OutputStream _out, org.omg.TimeBase.UtcT[] _s) { if (_s.length > 1) throw new org.omg.CORBA.MARSHAL("Incorrect sequence length"); _out.write_long(_s.length); for (int i=0; i<_s.length;i++) { org.omg.TimeBase.UtcTHelper.write(_out,_s[i]); } } }
public void write_value (org.omg.CORBA.portable.OutputStream ostream, java.io.Serializable value) { if (!(value instanceof String)) { throw new org.omg.CORBA.MARSHAL(); } String valueType = (String) value; ostream.write_string (valueType); }
public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.spi.GIOP.MessageHeader_1_1 value) { if (value.magic.length != (4)) throw new org.omg.CORBA.MARSHAL (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); for (int _i0 = 0;_i0 < (4); ++_i0) { ostream.write_char (value.magic[_i0]); } com.sun.corba.se.spi.GIOP.VersionHelper.write (ostream, value.GIOP_version); ostream.write_octet (value.flags); ostream.write_octet (value.message_type); ostream.write_ulong (value.message_size); }