Package de.fu_berlin.inf.dpp.exceptions

Examples of de.fu_berlin.inf.dpp.exceptions.ConnectionException


        if (sender != null)
            sender.sendPacket(transferDescription,
                StreamMetaPacketData.INIT.serializeInto(initiationDescription),
                SubMonitor.convert(new NullProgressMonitor()));
        else
            throw new ConnectionException();

        Future<StreamSession> initiationProcess = negotiations
            .submit(initiation);

        StreamSession session;
View Full Code Here


            } catch (IOException e) {
                log.error("Connection broken: ", e);
                if (packet.getSession() != null) {
                    packet.getSession().reportErrorAndDispose(
                        new ConnectionException(e));
                    removeData(packet.getSession());
                }
            } catch (SarosCancellationException e) {
                /*
                 * ignore: user gone (will be reported by SharedProjectListener)
View Full Code Here

                        new ReceiverGoneException(cancellation));
            } catch (IOException ioe) {
                log.error("Connection broken: ", ioe);
                if (this.getSession() != null)
                    this.getSession().reportErrorAndDispose(
                        new ConnectionException(ioe));

            }

            if (data == null || data.length == 0) {
                // received none -> error
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.exceptions.ConnectionException

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.