io.inverno.mod.configuration.ConfigurationLoaderException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of inverno-configuration Show documentation
Show all versions of inverno-configuration Show documentation
Inverno configuration module
/*
* Copyright 2020 Jeremy KUHN
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.inverno.mod.configuration;
/**
*
* Thrown by a configuration loader to indicate an error when loading a configuration.
*
*
* @author Jeremy Kuhn
* @since 1.0
*
* @see ConfigurationLoader
*/
public class ConfigurationLoaderException extends RuntimeException {
private static final long serialVersionUID = -5014607379551608990L;
/**
*
* Creates a configuration loader exception.
*
*/
public ConfigurationLoaderException() {
}
/**
*
* Creates a configuration loader exception with the specified message.
*
*
* @param message the message
*/
public ConfigurationLoaderException(String message) {
super(message);
}
/**
*
* Creates a configuration loader exception with the specified cause.
*
*
* @param cause the cause
*/
public ConfigurationLoaderException(Throwable cause) {
super(cause);
}
/**
*
* Creates a configuration loader exception with the specified message and cause.
*
*
* @param message the message
* @param cause the cause
*/
public ConfigurationLoaderException(String message, Throwable cause) {
super(message, cause);
}
/**
*
* Creates a configuration loader exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
*
*
* @param message the message
* @param cause the cause
* @param enableSuppression true to enable suppression, false otherwise
* @param writableStackTrace true to make the stack trace writable, false otherwise
*/
public ConfigurationLoaderException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}