[JCBC-213] IllegalArgumentException when calling vBucket-related methods Created: 17/Jan/13 Updated: 18/Jan/13 Resolved: 18/Jan/13
|Project:||Couchbase Java Client|
|Reporter:||Mark Nunberg||Assignee:||Michael Nitschinger|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Getting an "TODO: Implement this" when calling CouchbaseConnectionFactory.getVbucketConfig().getVbucketsCount() and the bucket is a memcached bucket.
While the failure is understandable, the exception thrown should be different.
I'm not sure if this has always been the behavior or it was introduced into the 1.1.x version.
the file from which the exception is thrown;
Looking at the commit log on that file, it seems to be some older "configuration" class - and doesn't seem to have changed significantly since.
|Comment by Michael Nitschinger [ 18/Jan/13 ]|
|I'll change it into a UnsupportedOperationException with an appropriate message.|