// // Copyright (c) 2011 Linkeos. // // This file is part of Elveos.org. // Elveos.org is free software: you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the // Free Software Foundation, either version 3 of the License, or (at your // option) any later version. // // Elveos.org 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 PARTICULAR PURPOSE. See the GNU General Public License for // more details. // You should have received a copy of the GNU General Public License along // with Elveos.org. If not, see http://www.gnu.org/licenses/. // package com.bloatit.framework.exceptions.lowlevel; /** * Throw this exception when a method received a null or empty argument and was * expecting a value. */ public class NonOptionalParameterException extends IllegalArgumentException { private static final long serialVersionUID = 684365471928810874L; /** * @see IllegalArgumentException#IllegalArgumentException(String, Throwable) */ public NonOptionalParameterException(final String message, final Throwable cause) { super(message, cause); } /** * @see IllegalArgumentException#IllegalArgumentException(String) */ public NonOptionalParameterException(final String message) { super(message); } /** * @see IllegalArgumentException#IllegalArgumentException(Throwable) */ public NonOptionalParameterException(final Throwable cause) { super(cause); } /** * @see IllegalArgumentException#IllegalArgumentException() */ public NonOptionalParameterException() { super(); } }