Should throw an IllegalArgumentException exception
```scala
 Preconditions.checkArgument(0 < memoryFraction && 1 > memoryFraction, 
"spark.storage.memoryFraction should be between 0 and 1.")
```