From 9b43e277062d08b7f6580545c7d012d60db83be3 Mon Sep 17 00:00:00 2001 From: abhishek Date: Tue, 25 Jan 2011 15:54:24 -0800 Subject: [PATCH] bug 7707: resolving the snapshots listing issue status 7707: resolved fixed --- server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java b/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java index 132f1653db1..3a94338daf4 100755 --- a/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java +++ b/server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java @@ -807,6 +807,8 @@ public class SnapshotManagerImpl implements SnapshotManager, SnapshotService, Ma Account userAccount = _accountDao.findActiveAccount(accountName, domainId); if (userAccount != null) { accountId = userAccount.getId(); + } else { + throw new InvalidParameterValueException("Could not find account:"+accountName+" in domain:"+domainId); } } } else {