Fixed initialisation order of subscribers and error handlers

Changes to make this code work as expected:

        SimpleIntegerProperty intProperty = new
SimpleIntegerProperty(-1);
        List<String> emitted = new LinkedList<>();
        List<Throwable> errors = new LinkedList<>();

        EventStreams.valuesOf(intProperty)
                .map(i -> {
                    if (i.intValue() < 0) {
                        throw new IllegalArgumentException("Accepting
only positive numbers");
                    }
                    return String.valueOf(i);
                })
                .handleErrors(errors::add)
                .subscribe(emitted::add);