Package org.openengsb.core.ekb.api

Examples of org.openengsb.core.ekb.api.EKBException


        for (QueryParser parser : queryParsers) {
            if (parser.isParsingPossible(query)) {
                return parser.parseQueryString(query);
            }
        }
        throw new EKBException("There is no active parser which is able to parse the query string " + query);
    }
View Full Code Here


    public EKBCommit loadCommit(String revision) throws EKBException {
        try {
            EDBCommit commit = edbService.getCommitByRevision(revision);
            return convertEDBCommitToEKBCommit(commit);
        } catch (EDBException e) {
            throw new EKBException("There is no commit with the revision " + revision);
        }
    }
View Full Code Here

        } else if (matchesAndJoinedQuery(query)) {
            return createAndJoinedQueryRequest(query);
        } else if (matchesOrJoinedQuery(query)) {
            return createOrJoinedQueryRequest(query);
        } else {
            throw new EKBException(
                String.format("The given query %s matches neither and joined nor or joined format", query));
        }
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.ekb.api.EKBException

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.