Exercise: LengthException
- Write Java code utilizing Java Exceptions.
Exercise
The constructor of ArrayIndexedList should throw an unchecked LengthException when the value provided for size is $\leq 0$. Take all the necessary steps to make this happen (don't forget writing tests).
Solution
Please refer to the posted solution.