throw exception if no data is found in getGenericData
This commit is contained in:
1 parent
56f2a3137b
commit
920fbdfb42
1 file changed
+3
+3
@@ -192,6 +192,9 @@ public class ProviderHelper {
|
||||
}
|
||||
pos += 1;
|
||||
}
|
||||
} else {
|
||||
// If no data was found, throw an appropriate exception
|
||||
throw new NotFoundException();
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in new issue
Block a user