Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, random-number generator, and miscellaneous utility
classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertionError
Thrown to indicate that an assertion has failed.
|
class |
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.
|
class |
IncompatibleClassChangeError
Thrown when an incompatible class change has occurred to some class
definition.
|
class |
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. |
class |
NoClassDefFoundError
Thrown if the Java Virtual Machine
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. |
class |
NoSuchFieldError
Thrown if an application tries to access or modify a specified
field of an object, and that object no longer has that field.
|
class |
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.
|
class |
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.
|
class |
VirtualMachineError
Thrown to indicate that the Java Virtual Machine is broken or has
run out of resources necessary for it to continue operating.
|
Modifier and Type | Class and Description |
---|---|
class |
ServiceConfigurationError
Error thrown when something goes wrong while loading a service provider.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.