Package ch.bfh.jass.exceptions

Examples of ch.bfh.jass.exceptions.GameNotExistsException


     */
    public Game getGameByID(String id) throws GameNotExistsException {
        if (gameMap.containsKey(id)) {
            return this.gameMap.get(id);
        } else {
            throw new GameNotExistsException("This game doesn't exist.");
        }
    }
View Full Code Here

TOP

Related Classes of ch.bfh.jass.exceptions.GameNotExistsException

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.