Exceptions/Catch an exception thrown in a nested call: Difference between revisions

Content added Content deleted
(Scala added)
(→‎{{header|Scala}}: Marked incomplete. Needs to "Show/describe what happens when the program is run.")
Line 1,980: Line 1,980:


=={{header|Scala}}==
=={{header|Scala}}==
{{incorrect|Scala|Show/describe what happens when the program is run.}}
[[Category:Scala Implementations]]{{libheader|Scala}}<lang Scala>object ExceptionsTest extends App {
[[Category:Scala Implementations]]{{libheader|Scala}}<lang Scala>object ExceptionsTest extends App {
class U0 extends Exception
class U0 extends Exception