why isn't java.lang.Throwable an abstract class?
问题 Possible duplicate: why-is-java-lang-throwable-a-class Hi! I doesn't understand why Throwable isn't abstract class. I see only one use case for these: in logging systems for figure out call hierarchy. But it can be some static method for this or other class. So, why?) Thanks. upd from java.util.logging.LogRecord // Get the stack trace. StackTraceElement stack[] = (new Throwable()).getStackTrace(); Why it can't be Throwable.getStackTrace(); or as in java.lang.Thread (new Exception())