Java Platform 1.2

Uses of Class
java.lang.Error

Packages that use Error
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.rmi Provides the RMI package. 
 

Uses of Error in java.awt
 

Subclasses of Error in java.awt
 interface AWTError
          Thrown when a serious Abstract Window Toolkit error has occurred.
 

Uses of Error in java.lang
 

Subclasses of Error in java.lang
 interface AbstractMethodError
          Thrown when an application tries to call an abstract method.
 interface ClassCircularityError
          Thrown when a circularity has been detected while initializing a class.
 interface ClassFormatError
          Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
 interface ExceptionInInitializerError
          Signals that an unexpected exception has occurred in a static initializer.
 interface IllegalAccessError
          Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to.
 interface IncompatibleClassChangeError
          Thrown when an incompatible class change has occurred to some class definition.
 interface InstantiationError
          Thrown when an application tries to use the Java new construct to instantiate an abstract class or an interface.
 interface InternalError
          Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.
 interface LinkageError
          Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.
 interface NoClassDefFoundError
          Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
 interface NoSuchFieldError
          Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.
 interface NoSuchMethodError
          Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.
 interface OutOfMemoryError
          Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
 interface StackOverflowError
          Thrown when a stack overflow occurs because an application recurses too deeply.
 interface ThreadDeath
          An instance of ThreadDeath is thrown in the victim thread when the stop method with zero arguments in class Thread is called.
 interface UnknownError
          Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.
 interface UnsatisfiedLinkError
          Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.
 interface UnsupportedClassVersionError
          Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.
 interface VerifyError
          Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.
 interface VirtualMachineError
          Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
 

Uses of Error in java.rmi
 

Constructors in java.rmi with parameters of type Error
ServerError.ServerError(String s, Error err)
          Constructs a ServerError with the specified detail message and nested error.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.