001package fr.aumgn.dac2.exceptions;
002
003import com.sk89q.worldedit.regions.Region;
004
005import fr.aumgn.dac2.DAC;
006
007/**
008 * Thrown when trying to assigns a shape based on a WorldEdit region
009 * which is not currently supported.
010 */
011public class WERegionNotSupported extends DACException {
012
013    private static final long serialVersionUID = 1498774297971531082L;
014
015    public WERegionNotSupported(DAC dac,
016            Class<? extends Region> clazz) {
017        super(dac.getMessages().get(
018                "worldedit.region.unsupported", clazz.getSimpleName()));
019    }
020}