throw exception if no data is found in getGenericData

This commit is contained in:
Vincent Breitmoser 2015-01-02 02:24:11 +01:00
parent 56f2a3137b
commit 920fbdfb42

View File

@ -192,6 +192,9 @@ public class ProviderHelper {
}
pos += 1;
}
} else {
// If no data was found, throw an appropriate exception
throw new NotFoundException();
}
return result;