This class forms the root of the exception hierarchy in Java. An Exception signals an abnormal condition that must be specially handled to prevent program termination. Exceptions may be caught and handled. Exceptions that are not subclasses of RuntimeException must be declared in the throws clause of any method that can throw them.
getMessage() returns a message associated with the exception. See Throwable for other methods.
public class Exception extends Throwable { // Public Constructors public Exception(); public Exception(String s); }
Object->Throwable(Serializable)->Exception
AWTException, ClassNotFoundException, CloneNotSupportedException, DataFormatException, IllegalAccessException, InstantiationException, InterruptedException, IntrospectionException, InvocationTargetException, IOException, NoSuchFieldException, NoSuchMethodException, ParseException, PropertyVetoException, RuntimeException, TooManyListenersException, UnsupportedFlavorException
WriteAbortedException()
WriteAbortedException.detail