All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.queries.InvalidQueryOffsetException Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.queries;

import static java.lang.String.format;
import static io.sphere.sdk.queries.Query.*;

public class InvalidQueryOffsetException extends IllegalArgumentException {
    static final long serialVersionUID = 0L;

    public InvalidQueryOffsetException(final long offset) {
        super(format("The offset parameter must be in the range of [%d..%d], but was %d.", MIN_OFFSET, MAX_OFFSET, offset));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy