В документах для multiple try-catch
есть инструкция.присвоить значения для параметра catch
If a catch block handles more than one exception type, then the catch parameter is implicitly final. In this example, the catch parameter ex is final and therefore you cannot assign any values to it within the catch block
Но я не понимаю. Что они означают? cannot assign any values
? Насколько я помню, все методы exception
. О чем говорят assignment
?
LoL. Это было так очевидно. Мне очень тяжело. – lapots