September 2015
Intermediate to advanced
250 pages
6h 40m
English
Java’s checked exceptions force you to catch errors, including those you don’t care to handle, so programmers often place empty catch blocks, thus suppressing exceptions instead of naturally propagating them to be handled at the right place. Scala doesn’t do that. It lets you handle only exceptions you care about and leave out the rest. Those you don’t handle are propagated automatically. In this chapter, you’ll learn how to handle exceptions in Scala.
Read now
Unlock full access