/*******************************************************************************
 * Copyright (c) 2011, 2017 Eurotech and/or its affiliates and others
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Eurotech - initial API and implementation
 *******************************************************************************/
package org.eclipse.kapua;

/**
 * KapuaIllegalArgumentException is thrown when the value of a method parameter is invalid.
 *
 * @since 1.0
 *
 */
public class KapuaIllegalArgumentException extends KapuaException {

    private static final long serialVersionUID = -7067191169730223113L;

    private String argumentName;
    private String argumentValue;

    /**
     * Constructor
     *
     * @param argName
     * @param argValue
     */
    public KapuaIllegalArgumentException(String argName, String argValue) {
        this(KapuaErrorCodes.ILLEGAL_ARGUMENT, argName, argValue);

        this.argumentName = argName;
        this.argumentValue = argValue;
    }

    /**
     * Constructor
     *
     * @param code
     * @param argName
     * @param argValue
     */
    protected KapuaIllegalArgumentException(KapuaErrorCodes code, String argName, String argValue) {
        super(code, argName, argValue);
    }

    public String getArgumentName() {
        return argumentName;
    }

    public String getArgumentValue() {
        return argumentValue;
    }
}

@@ -1135,85 +1135,8 @@
 ue);
-%0A%0A        this.argumentName = argName;%0A        this.argumentValue = argValue;
 %0A   
@@ -1377,32 +1377,109 @@
 Name, argValue);
+%0A%0A        this.argumentName = argName;%0A        this.argumentValue = argValue;
 %0A    %7D%0A%0A    publ

Fix initialization in KapuaIllegalArgumentException