> +import org.jclouds.openstack.swift.v1.features.ObjectApi;
> +
> +/**
> + * Options available for <a href=
> + * 
> "http://docs.openstack.org/api/openstack-object-storage/1.0/content/list-objects.html";
> + * >listing objects</a>.
> + * 
> + * @see ObjectApi#list
> + */
> +public class ListContainerOptions extends BaseHttpRequestOptions {
> +   public static final ListContainerOptions NONE = new 
> ListContainerOptions();
> +
> +   /** list operation returns no more than this amount. */
> +   public ListContainerOptions limit(int limit) {
> +      checkState(limit >= 0, "limit must be >= 0");
> +      checkState(limit <= 10000, "limit must be <= 10000");

Perhaps include what limit _actually_ was in the error message?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/30/files#r7235145

Reply via email to