> +
> +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");
> + checkState(limit <= 10000, "limit must be <= 10000");
`"...but was: " + limit`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/107/files#r13035259