> +import static com.google.common.base.Preconditions.checkState;
> +
> +import org.jclouds.http.options.BaseHttpRequestOptions;
> +
> +/**
> + * Options for listing containers. 
> + * 
> + * @see {@link 
> org.jclouds.rackspace.cloudfiles.v1.features.CDNAp#list(ListCDNContainerOptions)
>  CDNApi.list(ListCDNContainerOptions)}
> + */
> +public class ListCDNContainerOptions extends BaseHttpRequestOptions {
> +
> +   /** 
> +    * list operation returns no more than this amount. 
> +    */
> +   public ListCDNContainerOptions limit(int limit) {
> +      checkState(limit >= 0, "limit must be >= 0");

"...but was: " + limit?

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

Reply via email to