package com.hida.model;

/**
 * An exception that was created to display what parameter was incorrect and the
 * value that caused an error.
 *
 * @author lruffin
 */
public class BadParameterException extends Exception {

    private Object parameter_;
    private String rarameterType_;

    /**
     * Creates a new instance of <code>BadParameterException</code> without
     * detail message.
     */
    public BadParameterException() {
    }

    public BadParameterException(Object parameter, String parameterType) {
        parameter_ = parameter;
        rarameterType_ = parameterType;
    }

    @Override
    public String getMessage() {
        return String.format("An invalid '%s' was detected: %s", rarameterType_, parameter_);
    }
}

@@ -266,17 +266,17 @@
  String 
-r
+p
 arameter
@@ -557,17 +557,17 @@
         
-r
+p
 arameter
@@ -708,17 +708,17 @@
 d: %25s%22, 
-r
+p
 arameter

Correct rarameterType_ to parameterType_