* @throws InvalidArgumentException if some of the arguments are not valid
* in this context
*/
public final OutputStream createStream(final Object handle)
throws ObjectExistsException, InvalidArgumentException {
CacheObject co = convertHandle(handle);
try {
StreamCacheObject str =
new StreamCacheObject(co.getKey(), null, co.getGroup(),
co.getRegion(), CacheImpl.getCache(true).getReferenceQueue());
return str.getOutputStream();
} catch (CacheNotAvailableException e) {
throw new InvalidArgumentException("The cache is not available.");
} catch (CacheException e) {
throw new InvalidArgumentException(