Index (Frames) | Index (No Frames) | Package | Package Tree | Tree

Package java.lang

AbstractMethodError An AbstractMethodError is thrown when an application attempts to access an abstract method.
ArithmeticException Thrown when a math error has occured, such as trying to divide an integer by zero.
ArrayIndexOutOfBoundsException Thrown when attempting to access a position outside the valid range of an array.
ArrayStoreException Thrown when trying to store an object of the wrong runtime type in an array.
AssertionError An assertion error normally occurs as a result of the assert statement added in JDK 1.4, to indicate that an assertion failed.
Boolean Instances of class Boolean represent primitive boolean values.
Byte Instances of class Byte represent primitive byte values.
CharSequence General functions on a sequence of chars.
Character Wrapper class for the primitive char data type.
Character.Subset A subset of Unicode blocks.
Character.UnicodeBlock A family of character subsets in the Unicode specification.
Class
ClassCastException Thrown when an attempt is made to cast an object which is not of the appropriate runtime type.
ClassCircularityError A ClassCircularityError is thrown when a circular dependency has been detected while initializing a class.
ClassFormatError A ClassFormatError is thrown when a Java Virtual Machine unable to read a class file because the file is corrupted or cannot be interpreted as a class file.
ClassLoader The ClassLoader is a way of customizing the way Java gets its classes and loads them into memory.
ClassNotFoundException Thrown when a class is requested by reflection, but the class definition cannot be found.
CloneNotSupportedException Thrown to indicate an object should not or could not be cloned.
Cloneable This interface should be implemented by classes wishing to support of override Object.clone().
Comparable Interface for objects that can be ordering among other objects.
Compiler The Compiler class is a placeholder for a JIT compiler implementation, and does nothing unless there is such a compiler.
Double Instances of class Double represent primitive double values.
Error Applications should not try to catch errors since they indicate abnormal conditions.
Exception The root class of all exceptions worth catching in a program.
ExceptionInInitializerError An ExceptionInInitializerError is thrown when an uncaught exception has occurred in a static initializer or the initializer for a static variable.
Float Instances of class Float represent primitive float values.
IllegalAccessError An IllegalAccessError is thrown when an attempt is made to call a method, or access or modify a field that the application does not have access to.
IllegalAccessException Thrown whenever a reflective method tries to do something that the compiler would not allow.
IllegalArgumentException Thrown when a method is passed an illegal or inappropriate argument.
IllegalMonitorStateException Thrown when a thread attempts to wait or notify on a monitor that it does not own (ie.
IllegalStateException Thrown when a method is invoked at an illegal or inappropriate time.
IllegalThreadStateException Thrown When trying to manipulate a Thread which is in an inappropriate state.
IncompatibleClassChangeError An IncompatibleClassChangeError is thrown when the definition of a class used by the currently executing method has changed in an incompatible way.
IndexOutOfBoundsException This exception can be thrown to indicate an attempt to access an index which is out of bounds on objects like String, Array, or Vector.
InheritableThreadLocal A ThreadLocal whose value is inherited by child Threads.
InstantiationError An InstantiationError is thrown when an attempt is made to create an instance of an abstract class or an interface.
InstantiationException Thrown when an attempt is made to use reflection to build a non-instantiable class (an interface or abstract class).
Integer Instances of class Integer represent primitive int values.
InternalError An InternalError is thrown when a mystical error has occurred in the Java Virtual Machine.
InterruptedException Thrown when a thread interrupts another thread which was previously sleeping, waiting, or paused in some other way.
LinkageError Subclasses of LinkageError are thrown to indicate that two classes which were compatible at separate compilation times cannot be linked to one another.
Long Instances of class Long represent primitive long values.
Math Helper class containing useful mathematical functions and constants.
NegativeArraySizeException Thrown when an attempt is made to create an array with a negative size.
NoClassDefFoundError A NoClassDefFoundError is thrown when a classloader or the Java Virtual Machine tries to load a class and no definition of the class can be found.
NoSuchFieldError A NoSuchFieldError is thrown if an application attempts to access a field of a class, and that class no longer has that field.
NoSuchFieldException Thrown to indicate the class does not have the specified field.
NoSuchMethodError A NoSuchMethodError is thrown if an application attempts to access a method of a class, and that class no longer has that method.
NoSuchMethodException Thrown to indicate the class does not have the specified method.
NullPointerException Thrown when attempting to use null where an object is required.
Number Number is a generic superclass of all the numeric classes, including the wrapper classes
NumberFormatException Can be thrown when attempting to convert a String to one of the numeric types, but the operation fails because the string has the wrong format.
Object Object is the ultimate superclass of every class (excepting interfaces).
OutOfMemoryError Thrown when the Java Virtual Machine is unable to allocate an object because it is out of memory and no more memory could be made available by the garbage collector.
Package Everything you ever wanted to know about a package.
Process An instance of a subclass of Process is created by the Runtime.exec methods.
Runnable Runnable is an interface you implement to indicate that your class can be executed as the main part of a Thread, among other places.
RuntimeException All exceptions which are subclasses of RuntimeException can be thrown at any time during the execution of a Java virtual machine.
RuntimePermission A RuntimePermission contains a permission name, but no actions list.
SecurityException The security manager will throw this exception to indicate a security violation.
SecurityManager SecurityManager is a class you can extend to create your own Java security policy.
Short Instances of class Short represent primitive short values.
StackOverflowError A StackOverflowError is thrown when the execution stack overflow occurs.
StackTraceElement One function call or stack trace element.
StrictMath Helper class containing useful mathematical functions and constants.
String Strings represent an immutable set of characters.
StringBuffer StringBuffer represents a changeable String.
StringIndexOutOfBoundsException This exception can be thrown to indicate an attempt to access an index which is out of bounds of a String.
System System represents system-wide resources; things that represent the general environment.
Thread
ThreadDeath ThreadDeath is thrown in a thread when someone calls stop() on that thread.
ThreadGroup ThreadGroup allows you to group Threads together.
ThreadLocal ThreadLocal objects have a different state associated with every Thread that accesses them.
Throwable Throwable is the superclass of all exceptions that can be raised.
UnknownError An UnknownError is thrown when a serious but unknown problem has occurred in the Java Virtual Machine.
UnsatisfiedLinkError A UnsatisfiedLinkError is thrown if an appropriate native language definition of a method declared native cannot be found by the Java Virtual Machine.
UnsupportedClassVersionError An UnsupportedClassVersionError is thrown when the Java Virtual Machine determines it does not support the major and minor version numbers in the class file it is attempting to read.
UnsupportedOperationException This exception is thrown by an object when an operation is requested of it that it does not support.
VerifyError A VerifyError is thrown if there is a security problem or internal inconsistency in a class file as detected by the "verifier."
VirtualMachineError A VirtualMachineError or its subclasses are thrown to indicate there is something wrong with the Java Virtual Machine or that it does not have the resources needed for it to continue execution.
Void Void is a placeholder class so that the variable Void.TYPE (also available as void.class) can be supported for reflection return types.