Coverage Summary for Class: ConfigParameterException (org.kitodo.exceptions)
Class |
Class, %
|
Method, %
|
Line, %
|
ConfigParameterException |
0%
(0/1)
|
0%
(0/1)
|
0%
(0/1)
|
/*
* (c) Kitodo. Key to digital objects e. V. <contact@kitodo.org>
*
* This file is part of the Kitodo project.
*
* It is licensed under GNU General Public License version 3 or later.
*
* For the full copyright and license information, please read the
* GPL3-License.txt file that was distributed with this source code.
*/
package org.kitodo.exceptions;
public class ConfigParameterException extends RuntimeException {
/**
* Constructor with given parameter name and type for exception message.
*
* @param parameterName
* as String
* @param type
* as String
*/
public ConfigParameterException(String parameterName, String type) {
super("Default value for key: " + parameterName + " not defined or have different type than " + type + "!");
}
}