Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Commit 8f965bf

Browse files
DE452288 - Added exception message for null pointers.
1 parent b0dcedd commit 8f965bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mas-foundation/src/main/java/com/ca/mas/core/storage/sharedstorage/AccountManagerUtil.java

+3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ public AccountManagerUtil(Context context, String accountName, boolean sharedSto
6161
// - case migration from old AccountManagerStoreDataSource
6262
mAccount = null;
6363
identifier = new SharedStorageIdentifier();
64+
new NullPointerException("Password is null");
6465
}
66+
} else {
67+
new NullPointerException("Account Name does not exist");
6568
}
6669
}
6770

0 commit comments

Comments
 (0)