Scala Checkers
Friday, November 12, 2010
Exceptions
Scala exception handling is very similar to Java. Here is how it is handled:
try{
doSomethingHere()
}
catch {
case e:Exception => handleExceptionHere()
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment