I am preparing for the 1Z0-808 exam using the oraclestudy exam test-questions. In these questions i found a question about InternalError, OutOfMemoryError, StackOverflowError and UnknownError classes. To learn Java i used the Sybex book (written by J Boyarsky and S Selikoff) and i thought that only the StackOverflowError is covered in this book. Does anyone know if is have to know the details about InternalError, OutOfMemoryError and UnknownError for the exam?
However, my reading of this is that you should know the exceptions that you have met while studying for the exam. These are likely to be the exceptions thrown by the String class, the Number classes and subclasses and so on. what you should know about these class is for the exam is limited to whether or not they are checked or unchecked.
To some extents, you should be able to deduce that an exception is a checked exception or an unchecked exception from the name given to the exception class. For example, an exception that ends in the wordError probably extends from the Error class and therefore will be an unchecked exception, which means it does not need to be thrown/caught. Be careful, because the reverse is not true, that exception class names that end in Exception are may be either checked or unchecked exceptions.