I think throwing the exception to the user would be more fair than returning an false response (0).
To keep things simple better drop PercentileOutOfBounds and throw an IllegalArrgumentException instead of it.