*/
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(
"The cache is not available, as an error occured."