// $Id$ /* * This file is a part of WorldEdit. * Copyright (c) sk89q * Copyright (c) the WorldEdit team and contributors * * This program is free software: you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the Free Software * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * GNU General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License along with * this program. If not, see . */ package com.sk89q.rebar.command; import com.sk89q.rebar.command.parametric.ParameterException; /** * Thrown when there are leftover parameters that were not consumed, particular in the * case of the user providing too many parameters. */ public class UnconsumedParameterException extends ParameterException { private static final long serialVersionUID = 4449104854894946023L; private String unconsumed; public UnconsumedParameterException(String unconsumed) { this.unconsumed = unconsumed; } public String getUnconsumed() { return unconsumed; } }