Exception Handling
The Gist
The tour doesn’t deal with exception handling directly.
My Take
In Scala, there are no checked exceptions, but you can still handle them if you like. This is done via the case statement and pattern matching:
My Thoughts on This Feature
Aside from the fact that you don’t even have to handle exceptions explicitly, this syntax for doing so is much simpler and easier to deal with, IMO
Last Updated 12/09/2009 at 10:21:10 AM by davec
blog comments powered by Disqus
All Content by David Copeland is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.