Error


Error java.lang

Java 1.0 serializable error

This class forms the root of the error hierarchy in Java. Subclasses of Error , unlike subclasses of Exception , should not be caught and generally cause termination of the program. Subclasses of Error need not be declared in the throws clause of a method definition. 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-20. java.lang.Error

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

Subclasses

AssertionError , LinkageError , ThreadDeath , VirtualMachineError , java.lang.annotation.AnnotationFormatError , java.nio.charset.CoderMalfunctionError , javax.xml.parsers.FactoryConfigurationError , javax.xml.transform.TransformerFactoryConfigurationError



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net