Illegal State Exceptions
IllegalStateException
Signals that a method has been invoked at an illegal or inappropriate time
Error
Extends CollectionIsEmptyException
Thrown to indicate that a method has been passed on empty collection
IllegalStateException
Extends CollectionIsFullException
Thrown to indicate that a method has been passed on collection with no space available
IllegalStateException
Extends IsNotFoundException
Thrown to indicate that an element to operate with is not found in the collection
IllegalStateException
Extends IsAlreadyExistsException
Thrown to indicate that an element to operate with is already exists in the collection