catchの例外処理

#include < iostream >
using namespace std;

int main()
{
    cout << "start\n";
    
    try {
        cout << "try block internal\n";
        throw 10;
        cout << "this is not action";
    }
    
    catch (int i){
        cout << "get! number is : ";
        cout << i << "\n";
    }
    
    cout << "finish";
    
    return 0;
}