Skip to content

Commit

Permalink
Rename ConfigurationNotFoundException to MissingConfigurationException
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalcoder committed Nov 22, 2019
1 parent ef1a513 commit 99e391a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
*
* @since 1.0
*/
public class ConfigurationNotFoundException extends Exception{
public class MissingConfigurationException extends Exception{

public ConfigurationNotFoundException() {
public MissingConfigurationException() {
super();
}

Expand All @@ -15,7 +15,7 @@ public ConfigurationNotFoundException() {
*
* @since 1.0
*/
public ConfigurationNotFoundException(String configName) {
public MissingConfigurationException(String configName) {
super("The configuration \"" + configName + "\" was not found!");
}

Expand All @@ -25,7 +25,7 @@ public ConfigurationNotFoundException(String configName) {
*
* @since 1.0
*/
public ConfigurationNotFoundException(String configName, Throwable cause) {
public MissingConfigurationException(String configName, Throwable cause) {
super("The configuration \"" + configName + "\" was not found!", cause);
}

Expand All @@ -34,11 +34,11 @@ public ConfigurationNotFoundException(String configName, Throwable cause) {
*
* @since 1.0
*/
public ConfigurationNotFoundException(Throwable cause) {
public MissingConfigurationException(Throwable cause) {
super(cause);
}

protected ConfigurationNotFoundException(String configName, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
protected MissingConfigurationException(String configName, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super("The configuration \"" + configName + "\" was not found!", cause, enableSuppression, writableStackTrace);
}
}

0 comments on commit 99e391a

Please sign in to comment.