// Path: erp-library/src/main/java/com.jukusoft/erp/lib/exception/HandlerException.java
// public class HandlerException extends RuntimeException {
// 
//     public HandlerException (String message) {
//         super(message);
//     }
// 
// }


import com.jukusoft.erp.lib.exception.HandlerException;
import io.vertx.core.json.JsonObject;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
            throw new HandlerException("key '" + key + "' is not an integer.");
        }
    }

    public double getDouble (String key) {
        checkParam(key);

        try {
            return getData().getDouble(key);
        } catch (JSONException e) {
            throw new HandlerException("key '" + key + "' is not an double.");
        }
    }

    public float getFloat (String key) {
        checkParam(key);

        try {
            return (float) getData().getDouble(key);
        } catch (JSONException e) {
            throw new HandlerException("key '" + key + "' is not an float.");
        }
    }

    public String getString (String key) {
        checkParam(key);

        try {
            return getData().getString(key);
        } catch (JSONException e) {
// Path: erp-library/src/main/java/com.jukusoft/erp/lib/exception/HandlerException.java
// public class HandlerException extends RuntimeException {
// 
//     public HandlerException (String message) {
//         super(message);
//     }
// 
// }


// Path: erp-library/src/main/java/com.jukusoft/erp/lib/message/request/ApiRequest.java
import com.jukusoft.erp.lib.exception.HandlerException;
import io.vertx.core.json.JsonObject;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;

            throw new HandlerException("key '" + key + "' is not an integer.");
        }
    }

    public double getDouble (String key) {
        checkParam(key);

        try {
            return getData().getDouble(key);
        } catch (JSONException e) {
            throw new HandlerException("key '" + key + "' is not an double.");
        }
    }

    public float getFloat (String key) {
        checkParam(key);

        try {
            return (float) getData().getDouble(key);
        } catch (JSONException e) {
            throw new HandlerException("key '" + key + "' is not an float.");
        }
    }

    public String getString (String key) {
        checkParam(key);

        try {
            return getData().getString(key);
        } catch (JSONException e) {
            throw new HandlerException("key '" + key + "' is not an string.");