What happens if the function generates an exception of the type not allowed by the specification of exceptions of this function?
Explanation
In the function description, you can specify the "specification of exceptions" - a list of exceptions that can be generated by this function:
int g (float h) throw (a, b, c,)
{
// function body
}
If an exception not listed in the specification is generated, the unexpected exceptions processing function is called

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты