class Assertion {

    public static void positive(long number, String name) {
        if (number <= 0) {
            throw new InvalidArgumentException(name + " should be positive");
        }
    }

}