October 2018
Intermediate to advanced
370 pages
9h 15m
English
All exception classes in Kotlin and Java are inherited from the Throwable class. The Throwable class has two direct inheritors—Exception and Error. The Exception class, in turn, has inheritors for more specific cases, such as the IOException and RuntimeException classes:
Subclasses of the Error class are used to indicate abnormal conditions that may occur in the application. The widely occurring inheritor of Error is the OutOfMemoryError class. Instances of this class can be thrown when ...
Read now
Unlock full access