modification applied to the smartSampleOnTable method of class Sampler. If a table has o row return the exception with message "The table has 0 rows"

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@99778 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Loredana Liccardo 2014-09-12 12:07:29 +00:00
parent 77082fa4ad
commit 6728db3c04
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public class Sampler {
if (NumRows == 0) {
throw new Exception(
"The table has not rows. Smart Sample operation not possible");
"The table has 0 rows");
}
// // computation of the iterations number