This is not an illegal argument exception since ```value``` is not an argument. Either don't throw the exception or throw something more suitable like an ```IllegalStateException```