Pavel_Kisliuk :
I often meet people, who think Throwable class is abstract class. Till this day, I thought it was abstract early 9 Java, when I'd started learn it, but I red documentation of 8, 7, 6, 5 Java and class Throwable is concrete there. I couldn't find more early documentation and thought, may be anybody tell me here, was Throwable class ever abstract?
Elliott Frisch :
The oldest reference I have on the subject is the 1996 first edition Java in a Nutshell: A Desktop Quick Reference for Java Programmers (available here) by David Flanagan on page 327
public class Throwable extends Object
So no. Since Java 1.0 it has been a concrete class.
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=362130&siteId=1