Missing comment.
Throw exception when the array size is <= 0.