Package de.fu_berlin.inf.dpp.util

Examples of de.fu_berlin.inf.dpp.util.StackTrace


     */
    public void stopSarosSession() {

        if (Utils.isSWT()) {
            log.warn("StopSharedProject should not be called from SWT", //$NON-NLS-1$
                new StackTrace());
        }

        if (!stopSharedProjectLock.tryLock()) {
            log.debug("stopSharedProject() couldn't acquire " //$NON-NLS-1$
                + "stopSharedProjectLock."); //$NON-NLS-1$
View Full Code Here


        JID jid = user.getJID();

        if (participants.putIfAbsent(jid, user) != null) {
            log.error("Buddy " + Utils.prefix(jid) //$NON-NLS-1$
                + " added twice to SarosSession", new StackTrace()); //$NON-NLS-1$
            throw new IllegalArgumentException();
        }

        listenerDispatch.userJoined(user);
View Full Code Here

        public final IActivity activity;

        public QueueItem(List<User> recipients, IActivity activity) {
            if (recipients.size() == 0)
                log.fatal("Empty list of recipients in constructor", //$NON-NLS-1$
                    new StackTrace());
            this.recipients = recipients;
            this.activity = activity;
        }
View Full Code Here

    }

    public void acknowledge() {
        if (!acknowledged.compareAndSet(false, true)) {
            log.warn("Acknowledge should only be called once per handle",
                new StackTrace());
        }
    }
View Full Code Here

                if (worked > totalWorked)
                    log.warn(
                        MessageFormat
                            .format(
                                "Worked ({0})is greater than totalWork ({1}). Forgot to call beginTask?",
                                worked, totalWorked), new StackTrace());
                sarosSession.sendActivity(recipients, new ProgressActivity(
                    localUser, progressID, worked, totalWorked, null,
                    ProgressAction.UPDATE));
            }
        };
View Full Code Here

            Class<? extends Object> clazz = toInjectInto.getClass();
            ComponentAdapter<Object> removed = this.container
                .removeComponent(clazz);
            if (removed != null && clazz != Saros.class) {
                LogLog.warn(clazz.toString() + " added more than once!",
                    new StackTrace());
            }

            // Add the given instance to the container
            this.container.addComponent(clazz, toInjectInto);
View Full Code Here

        if (oldProcess != null) {
            log.error(
                "An internal error occurred:"
                    + " An existing ProjectNegotiation process with "
                    + Utils.prefix(oldProcess.getPeer())
                    + " was replaced by a new one", new StackTrace());
        }
    }
View Full Code Here

        ProjectNegotiation process) {
        if (this.processes.remove(process.getPeer()) == null) {
            log.error(
                "An internal error occurred:" + " No ProjectNegotiation with "
                    + Utils.prefix(process.getPeer()) + " could be found",
                new StackTrace());
        }
    }
View Full Code Here

        if (oldProcess != null) {
            log.error(
                "An internal error occurred:"
                    + " An existing invititation process with "
                    + Utils.prefix(oldProcess.getPeer())
                    + " was replace by a new one", new StackTrace());
        }
    }
View Full Code Here

        if (this.processes.remove(process.getPeer()) == null) {
            log.error(
                "An internal error occurred:"
                    + " No invititation process with "
                    + Utils.prefix(process.getPeer()) + " could be found",
                new StackTrace());
        }
    }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.util.StackTrace

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.