public ResourceVO(Path path, ResourceType type, int resourceNumber) {
        if (!FileUtil.control(path) || (type == null) || (resourceNumber <= 0)) {
            IllegalArgumentException iae = new IllegalArgumentException(
                    "Non of the parameters should be null, also the resourcenumber have to be bigger than zero!");
            Main.handleUnhandableProblem(iae);
        }

        this.path = path;
        this.type = type;
        this.resourceNumber = resourceNumber;
    }