5 / 5 / 1
Регистрация: 09.09.2012
Сообщений: 227
|
|
1 | |
If a function throws an exception?20.10.2012, 08:53. Показов 1018. Ответов 6
Метки нет (Все метки)
If a function throws an exception _____ .
Question options: A) it must be caught in that function. B) it may be caught in that function. C) it can only be a non-numeric exception. D) it causes a syntax error.
0
|
20.10.2012, 08:53 | |
Ответы с готовыми решениями:
6
If a function throws an exception that is not listed in the function exception-specification list Function<> и Exception Exception - Call to a member function fetch_assoc() on boolean E2122: "Function call terminated by unhandled exception" |
1674 / 1046 / 174
Регистрация: 27.09.2009
Сообщений: 1,945
|
|
20.10.2012, 08:57 | 2 |
B, разумеется. Для понимания темы читаем Exceptional C++.
1
|
5 / 5 / 1
Регистрация: 09.09.2012
Сообщений: 227
|
|
20.10.2012, 09:08 [ТС] | 3 |
Спасибо!
Может поможете и со следующим (книга на английском, хотелось бы быть уверенным) ______________________________________________________ If the following function might throw a string exception: void myFunction( ); then _____ . Question options: A) the function definition, but not the declaration, should have a throw list. B) the function definition and declaration should have a throw list. C) the function should have an empty throw list. D) all of the above ________________________________________________________ A class that is used for exceptions is declared _____ . Question options: A) specialized only for exceptions. B) may not have objects declared of that class. C) differently from other classes. D) all of the above E) none of the above Заранее спасибо.
0
|
5 / 5 / 1
Регистрация: 09.09.2012
Сообщений: 227
|
|
20.10.2012, 09:29 [ТС] | 5 |
Спасибо!!!
Мне нравится ваш пост: _____________________________________________ — Ложись спать. — Не могу, в интернете кто-то снова не прав
0
|
Kastaneda
|
20.10.2012, 09:30
#6
|
Не по теме: Это подпись :), к посту отношения не имеет.
0
|
5 / 5 / 1
Регистрация: 09.09.2012
Сообщений: 227
|
|
21.10.2012, 20:05 [ТС] | 7 |
Я знаю, Просто очень остроумо написано.
0
|
21.10.2012, 20:05 | |
21.10.2012, 20:05 | |
Помогаю со студенческими работами здесь
7
Yii2 SoapFault exception: [Client] Function ("getPrice") is not a valid method for this service Throws Оператор throws Ошибка в throws IOException Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |