Package com.khorn.terraincontrol.exception

Examples of com.khorn.terraincontrol.exception.BiomeNotFoundException


    public ForgeBiome getBiomeById(int id) throws BiomeNotFoundException
    {
        LocalBiome biome = settings.biomes[id];
        if (biome == null)
        {
            throw new BiomeNotFoundException(id, Arrays.asList(settings.biomes));
        }
        return (ForgeBiome) biome;
    }
View Full Code Here


    public LocalBiome getBiomeByName(String name) throws BiomeNotFoundException
    {
        LocalBiome biome = biomeNames.get(name);
        if (biome == null)
        {
            throw new BiomeNotFoundException(name, biomeNames.keySet());
        }
        return biome;
    }
View Full Code Here

    public BukkitBiome getBiomeById(int id) throws BiomeNotFoundException
    {
        LocalBiome biome = settings.biomes[id];
        if (biome == null)
        {
            throw new BiomeNotFoundException(id, Arrays.asList(settings.biomes));
        }
        return (BukkitBiome) biome;
    }
View Full Code Here

    public LocalBiome getBiomeByName(String name) throws BiomeNotFoundException
    {
        LocalBiome biome = biomeNames.get(name);
        if (biome == null)
        {
            throw new BiomeNotFoundException(name, biomeNames.keySet());
        }
        return biome;
    }
View Full Code Here

TOP

Related Classes of com.khorn.terraincontrol.exception.BiomeNotFoundException

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.