Package org.apache.stanbol.ontologymanager.ontonet.api.session

Examples of org.apache.stanbol.ontologymanager.ontonet.api.session.DuplicateSessionIDException


                                                               SessionLimitException {
        /*
         * Throw the duplicate ID exception first, in case developers decide to reuse the existing session
         * before creating a new one.
         */
        if (sessionsByID.containsKey(sessionID)) throw new DuplicateSessionIDException(sessionID.toString());
        checkSessionLimit();
        IRI ns = IRI.create(getNamespace() + getID() + "/");
        Session session = new SessionImpl(sessionID, ns, ontologyProvider);
        addSession(session);
        fireSessionCreated(session);
View Full Code Here

TOP

Related Classes of org.apache.stanbol.ontologymanager.ontonet.api.session.DuplicateSessionIDException

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.