mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
throw exception if no data is found in getGenericData
This commit is contained in:
parent
56f2a3137b
commit
920fbdfb42
@ -192,6 +192,9 @@ public class ProviderHelper {
|
||||
}
|
||||
pos += 1;
|
||||
}
|
||||
} else {
|
||||
// If no data was found, throw an appropriate exception
|
||||
throw new NotFoundException();
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user