Package java.rmi

Examples of java.rmi.UnexpectedException


                    in = _invoke(out);
                    return (Coordinator) PortableRemoteObject.narrow(in.read_Object(), Coordinator.class);
                } catch (ApplicationException ex) {
                    in = ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return get_coordinator();
                } finally {
                    _releaseReply(in);
                }
View Full Code Here


                    in = _invoke(out);
                    return (Control) PortableRemoteObject.narrow(in.read_Object(), Control.class);
                } catch (ApplicationException ex) {
                    in = ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return create(arg0);
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

                    in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
                    return (Control) PortableRemoteObject.narrow(in.read_Object(), Control.class);
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return recreate(arg0);
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

                    in = _invoke(out);
                    return in.read_long();
                } catch (ApplicationException ex) {
                    in = ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return getPortNumber();
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

                    in = (org.omg.CORBA_2_3.portable.InputStream)_invoke(out);
                    return (String) in.read_value(String.class);
                } catch (ApplicationException ex) {
                    in = (org.omg.CORBA_2_3.portable.InputStream) ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return getHostName();
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

                    in = _invoke(out);
                    return (Terminator) PortableRemoteObject.narrow(in.read_Object(), Terminator.class);
                } catch (ApplicationException ex) {
                    in = ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return get_terminator();
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

                    in = _invoke(out);
                    return (Coordinator) PortableRemoteObject.narrow(in.read_Object(), Coordinator.class);
                } catch (ApplicationException ex) {
                    in = ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return get_coordinator();
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

                    in = _invoke(out);
                    return in.read_long();
                } catch (ApplicationException ex) {
                    in = ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    return prepare();
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

                    OutputStream out = _request("rollback", true);
                    _invoke(out);
                } catch (ApplicationException ex) {
                    in = ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    rollback();
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

                    OutputStream out = _request("commit__", true);
                    _invoke(out);
                } catch (ApplicationException ex) {
                    in = ex.getInputStream();
                    String id = in.read_string();
                    throw new UnexpectedException(id);
                } catch (RemarshalException ex) {
                    commit();
                } finally {
                    _releaseReply(in);
                }
View Full Code Here

TOP

Related Classes of java.rmi.UnexpectedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.