Team LiB
Previous Section Next Section


Java 1.0serializable checked

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. An exception that is not a subclass of RuntimeException must be declared in the throws clause of any method that can throw it. This class inherits methods from THRowable but declares none of its own. Each of its constructors simply invokes the corresponding Throwable( ) constructor. See Throwable for details.

Figure 10-21. java.lang.Exception

public class Exception extends Throwable {
// Public Constructors
     public Exception( );  
1.4  public Exception(Throwable cause);  
     public Exception(String message);  
1.4  public Exception(String message, Throwable cause);  


Too many classes to list.

Passed To ), java.nio.charset.CoderMalfunctionError.CoderMalfunctionError( ), ), java.util.logging.ErrorManager.error( ), java.util.logging.Handler.reportError( ), javax.xml.parsers.FactoryConfigurationError.FactoryConfigurationError( ), javax.xml.transform.TransformerFactoryConfigurationError.TransformerFactoryConfigurationError( ), org.xml.sax.SAXException.SAXException( ), org.xml.sax.SAXParseException.SAXParseException( )

Returned By ), javax.xml.parsers.FactoryConfigurationError.getException( ), javax.xml.transform.TransformerFactoryConfigurationError.getException( ), org.xml.sax.SAXException.getException( )

Thrown By ), )

Type Of

    Team LiB
    Previous Section Next Section