+ 1
Well... I came across this. I understand throwing exceptions- this deals with multiple exceptions. What does it do?
"catch (ExceptionType1 | ExceptionType2 | ExceptionType3 e) {// equal handling} => shorter and easier to handle if you have only one kind of treatment"
1 Antwort