You're a software engineer working on a mission-critical project for a space exploration organization. Your task is to choose the correct assertion to ensure that the spaceship's control system handles exceptions properly. By selecting the right assertion, you can guarantee the safety of the spacecraft and the mission's success.
Which assertion do you use to check if an exception of the specified type is thrown?