Throwable
Class Throwable
- java.lang.Object
-
- java.lang.Throwable
- All Implemented Interfaces:
- Serializable
public class Throwable extends Object implements Serializable
The Throwable
class is the superclass of all errors and exceptions in the Java language. Only objects that are instances of this class (or one of its subclasses) are thrown by the Java Virtual Machine or can be thrown by the Java throw
statement. Similarly, only this class or one of its subclasses can be the argument type in a catch
clause. For the p