Replace "break" with catch/throw.