diff --git a/src/main/java/com/nexacro/spring/resolve/MissingNexacroParameterException.java b/src/main/java/com/nexacro/spring/resolve/MissingNexacroParameterException.java index 24a9b81..3833752 100644 --- a/src/main/java/com/nexacro/spring/resolve/MissingNexacroParameterException.java +++ b/src/main/java/com/nexacro/spring/resolve/MissingNexacroParameterException.java @@ -1,42 +1,42 @@ -package com.nexacro.spring.resolve; - -import com.nexacro.spring.data.convert.NexacroConvertException; - -public class MissingNexacroParameterException extends NexacroConvertException { - - private final String parameterName; - - private final String parameterType; - - - /** - * Constructor for MissingServletRequestParameterException. - * @param parameterName the name of the missing parameter - * @param parameterType the expected type of the missing parameter - */ - public MissingNexacroParameterException(String parameterName, String parameterType) { - super(""); - this.parameterName = parameterName; - this.parameterType = parameterType; - } - - @Override - public String getMessage() { - return "Required " + this.parameterType + " parameter '" + this.parameterName + "' is not present"; - } - - /** - * Return the name of the offending parameter. - */ - public final String getParameterName() { - return this.parameterName; - } - - /** - * Return the expected type of the offending parameter. - */ - public final String getParameterType() { - return this.parameterType; - } - -} +package com.nexacro.spring.resolve; + +import com.nexacro.spring.data.convert.NexacroConvertException; + +public class MissingNexacroParameterException extends NexacroConvertException { + + private final String parameterName; + + private final String parameterType; + + + /** + * Constructor for MissingNexacroParameterException. + * @param parameterName the name of the missing parameter + * @param parameterType the expected type of the missing parameter + */ + public MissingNexacroParameterException(String parameterName, String parameterType) { + super(""); + this.parameterName = parameterName; + this.parameterType = parameterType; + } + + @Override + public String getMessage() { + return "Required " + this.parameterType + " parameter '" + this.parameterName + "' is not present"; + } + + /** + * Return the name of the offending parameter. + */ + public final String getParameterName() { + return this.parameterName; + } + + /** + * Return the expected type of the offending parameter. + */ + public final String getParameterType() { + return this.parameterType; + } + +}