Illegal State Exceptions



IllegalStateException

Signals that a method has been invoked at an illegal or inappropriate time

Extends Error



CollectionIsEmptyException

Thrown to indicate that a method has been passed on empty collection

Extends IllegalStateException



CollectionIsFullException

Thrown to indicate that a method has been passed on collection with no space available

Extends IllegalStateException



IsNotFoundException

Thrown to indicate that an element to operate with is not found in the collection

Extends IllegalStateException



IsAlreadyExistsException

Thrown to indicate that an element to operate with is already exists in the collection

Extends IllegalStateException