001package fr.aumgn.dac2.exceptions;
002
003import fr.aumgn.dac2.DAC;
004
005/**
006 * Thrown when trying to assign a non flat shape to a pool.
007 */
008public class PoolShapeNotFlat extends DACException {
009
010    private static final long serialVersionUID = 6261314447607981035L;
011
012    public PoolShapeNotFlat(DAC dac, Object shape) {
013        super(dac.getMessages().get("pool.shape.notflat",
014                shape.getClass().getSimpleName()));
015    }
016}