func() // this can throw any Excpeption
func() throw() // this Will NOT throw any Excpeption
func() throw (bad_alloc , X ) // this can throw only specified Excpeption
unexpected() is called when function throws exception other than specified
It uses _unexpected_handler which can be changed
unexpected_handler old_hand = set_unexpected( newfunction);
void newfunction( ) { cout << "Hi" << endl; terminate( ); }
dbms interview questions
ReplyDeletespring interview questions
jsp interview questions
c++ interview questions
Very nice blog, Thank you for providing good information.
ReplyDeletepython training in bangalore | python online Training
artificial intelligence training in bangalore | artificial intelligence online training
machine learning training in bangalore | machine learning online training
uipath-training-in-bangalore | uipath online training
blockchain training in bangalore | blockchain online training
aws training in Bangalore | aws online training
data science training in bangalore | data science online training
hadoop training in bangalore | hadoop online training
iot training in bangalore | iot online training