Update the message of IllegalStateException