Avoid method with more than one exit point | CAST Appmarq