Package fr.raversoft.yllisanSkies.exceptions

Examples of fr.raversoft.yllisanSkies.exceptions.FullPartyException


     */
    public void addHero(Hero hero) throws FullPartyException {
        if (getSize() < MAX_SIZE) {
            heroes.add(hero);
        } else {
            throw new FullPartyException(Parameters.getText("Exceptions", "FullParty"));
        }
    }
View Full Code Here

TOP

Related Classes of fr.raversoft.yllisanSkies.exceptions.FullPartyException

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.