Code Inspection: Infinite loop statement

Last modified: 21 March 2023

Reports a for, while, or do statement which can only exit by throwing an exception. Such statements often indicate coding errors.