All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.freelibrary.vertx.s3.ConfigurationException Maven / Gradle / Ivy

There is a newer version: 2.0.0-alpha-2
Show newest version

package info.freelibrary.vertx.s3;

import info.freelibrary.util.I18nRuntimeException;

import info.freelibrary.vertx.s3.util.MessageCodes;

/**
 * A configuration exception.
 */
public class ConfigurationException extends I18nRuntimeException {

    /**
     * The serialVersionUID for ConfigurationException.
     */
    private static final long serialVersionUID = 8933742820053151915L;

    /**
     * Creates a new generic configuration exception.
     */
    public ConfigurationException() {
        super();
    }

    /**
     * Creates a new configuration exception from the supplied I18n message key.
     *
     * @param aMessageKey A message key
     */
    public ConfigurationException(final String aMessageKey) {
        super(MessageCodes.BUNDLE, aMessageKey);
    }

    /**
     * Creates a new configuration exception from the supplied message key and additional details.
     *
     * @param aMessageKey A message key
     * @param aDetailsArray Additional details about the configuration exception
     */
    public ConfigurationException(final String aMessageKey, final Object... aDetailsArray) {
        super(MessageCodes.BUNDLE, aMessageKey, aDetailsArray);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy