* Otherwise it does nothing.
*/
private void throwFetchVersionException(int objectId)
throws RepositoryException {
if (objectId == MockConstants.DOCUMENT_OBJECT_ID) {
throw new RepositoryDocumentException(new RuntimeException(
"Simulated Premature end-of-data on socket"));
} else if (objectId == MockConstants.IO_OBJECT_ID) {
throw new LivelinkIOException(new RuntimeException(
"Simulated Server did not accept open request"), LOGGER);
} else if (objectId == MockConstants.REPOSITORY_OBJECT_ID) {