Package java.rmi.activation

Examples of java.rmi.activation.UnknownGroupException


        waitStartup();
        ActivationGroupInfo agi = (ActivationGroupInfo) groupInfoByGroupId
                .remove(id);
        if (agi == null) {
            // rmi.34=Attempt to unregister unknown group {0}
            throw new UnknownGroupException(Messages.getString("rmi.34", id)); //$NON-NLS-1$
        }
        agi.unregister();
    }
View Full Code Here


                if (entry != null && !entry.removed) {
                    return entry;
                }
            }
        }
        throw new UnknownGroupException("group unknown");
    }
View Full Code Here

            notifyAll();
        }

        private void checkRemoved() throws UnknownGroupException {
            if (removed) {
                throw new UnknownGroupException("group removed");
            }
        }
View Full Code Here

        synchronized void inactiveGroup(long incarnation, boolean failure)
            throws UnknownGroupException
        {
            checkRemoved();
            if (this.incarnation != incarnation) {
                throw new UnknownGroupException("invalid incarnation");
            }

            reset();
            if (failure) {
                terminate();
View Full Code Here

        rLog.log(commonDebugLevel, Messages.getString("rmi.log.48", agi));//$NON-NLS-1$
                       

        if (agi == null) {
            // rmi.2F=Group is not registered: {0}
            throw new UnknownGroupException(Messages.getString("rmi.2F", gID)); //$NON-NLS-1$
        } else if (agi.isActive()) {
            // rmi.30=Group is already active: {0}
            throw new ActivationException(Messages.getString("rmi.30", gID)); //$NON-NLS-1$
        }
View Full Code Here

        waitStartup();
        ActivationGroupInfo agi = (ActivationGroupInfo) groupInfoByGroupId
                .remove(id);
        if (agi == null) {
            // rmi.34=Attempt to unregister unknown group {0}
            throw new UnknownGroupException(Messages.getString("rmi.34", id)); //$NON-NLS-1$
        }
        agi.unregister();
    }
View Full Code Here

        rLog.log(commonDebugLevel, Messages.getString("rmi.log.48", agi));//$NON-NLS-1$
                       

        if (agi == null) {
            // rmi.2F=Group is not registered: {0}
            throw new UnknownGroupException(Messages.getString("rmi.2F", gID)); //$NON-NLS-1$
        } else if (agi.isActive()) {
            // rmi.30=Group is already active: {0}
            throw new ActivationException(Messages.getString("rmi.30", gID)); //$NON-NLS-1$
        }
View Full Code Here

        waitStartup();
        ActivationGroupInfo agi = (ActivationGroupInfo) groupInfoByGroupId
                .remove(id);
        if (agi == null) {
            // rmi.34=Attempt to unregister unknown group {0}
            throw new UnknownGroupException(Messages.getString("rmi.34", id)); //$NON-NLS-1$
        }
        agi.unregister();
    }
View Full Code Here

            notifyAll();
        }

        private void checkRemoved() throws UnknownGroupException {
            if (removed) {
                throw new UnknownGroupException("group removed");
            }
        }
View Full Code Here

        synchronized void inactiveGroup(long incarnation, boolean failure)
            throws UnknownGroupException
        {
            checkRemoved();
            if (this.incarnation != incarnation) {
                throw new UnknownGroupException("invalid incarnation");
            }

            reset();
            if (failure) {
                terminate();
View Full Code Here

TOP

Related Classes of java.rmi.activation.UnknownGroupException

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.