containerSegments.add(object);
}
}
else {
method.abort();
throw new GenericException(response);
}
}
}
else {
/*
* Not a large object, so return null
*/
return null;
}
}
catch(NotFoundException e) {
/*
* Just means no object exists with the specified region, container and name
*/
return null;
}
catch(ParseException e) {
throw new GenericException("JSON parsing failed dealing with static large object", e);
}
catch(URISyntaxException e) {
throw new GenericException("URI Building failed when downloading Static Large Object manifest", e);
}
return existingSegments;
}