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