Finished exceptions for triangle and iteration.