| Type | Reason |
|---|
| AbstractMethodError |
Note that this can only occur when inconsistent class files have been loaded,
since invoking an abstract method is a compile time error. |
| AbstractStringBuilder | Documentation for this section has not yet been entered. |
| ArithmeticException | Thrown when the an invalid arithmetic operation is attempted. |
| ArrayIndexOutOfBoundsException | Thrown when the an array is indexed with a value less than zero, or greater
than or equal to the size of the array. |
| ArrayStoreException | Thrown when a program attempts to store an element of an incompatible type in
an array. |
| AssertionError | Thrown when an assertion has failed. |
| Boolean | The wrapper for the primitive type boolean. |
| Byte | The wrapper for the primitive type byte. |
| Character | [Android Documentation] |
| Class |
These represent an ordinary class or interface as found in the class
hierarchy. |
| ClassCastException | Thrown when a program attempts to cast a an object to a type with which it is
not compatible. |
| ClassCircularityError |
Note that this error can only occur when inconsistent class files are loaded,
since it would normally be detected at compile time. |
| ClassFormatError | Thrown by a class loader when a class file has an illegal format or if the
data that it contains can not be interpreted as a class. |
| ClassLoader | ClassLoader is an abstract class that implements the common
infrastructure required by all class loaders. |
| ClassNotFoundException | Thrown when a class loader is unable to find a class. |
| CloneNotSupportedException | Thrown when a program attempts to clone an object which does not support the
Java.Lang.ICloneable interface. |
| Compiler | Does nothing on Android. |
| Deprecated | Annotation type used to mark program elements that should no longer be used
by programmers. |
| Double | The wrapper for the primitive type double. |
| Enum | The superclass of all enumerated types. |
| EnumConstantNotPresentException | Thrown if an enum constant does not exist for a particular name. |
| Error | Error is the superclass of all classes that represent unrecoverable
errors. |
| Exception | Exception is the superclass of all classes that represent recoverable
exceptions. |
| ExceptionInInitializerError | Thrown when an exception occurs during class initialization. |
| Float | The wrapper for the primitive type float. |
| IAppendableExtensions | Documentation for this section has not yet been entered. |
| ICharSequenceExtensions | Documentation for this section has not yet been entered. |
| IllegalAccessError |
Note that this can only occur when inconsistent class files have been loaded. |
| IllegalAccessException | Thrown when a program attempts to access a field or method which is not
accessible from the location where the reference is made. |
| IllegalArgumentException | Thrown when a method is invoked with an argument which it can not reasonably
deal with. |
| IllegalMonitorStateException | Thrown when a monitor operation is attempted when the monitor is not in the
correct state, for example when a thread attempts to exit a monitor which it
does not own. |
| IllegalStateException | Thrown when an action is attempted at a time when the VM is not
in the correct state. |
| IllegalThreadStateException | Thrown when an operation is attempted which is not possible given the state
that the executing thread is in. |
| IncompatibleClassChangeError | IncompatibleClassChangeError is the superclass of all classes which
represent errors that occur when inconsistent class files are loaded into
the same running image. |
| IndexOutOfBoundsException | Thrown when a program attempts to access a value in an indexable collection
using a value which is outside of the range of valid indices. |
| InheritableThreadLocal | A thread-local variable whose value is passed from parent to child thread. |
| InstantiationError |
Note that this can only occur when inconsistent class files are being loaded. |
| InstantiationException | Thrown when a program attempts to access a constructor which is not
accessible from the location where the reference is made. |
| Integer |
Implementation note: The "bit twiddling" methods in this class use techniques
described in and |
| InternalError | Thrown when the VM notices that it has gotten into an undefined state. |
| InterruptedException | Thrown when a waiting thread is activated before the condition it was waiting
for has been satisfied. |
| JavaSystem | Provides access to system-related information and resources including
standard input and output. |
| LinkageError | LinkageError is the superclass of all error classes that occur when
loading and linking class files. |
| Long |
Implementation note: The "bit twiddling" methods in this class use techniques
described in and |
| Math | Class Math provides basic math constants and operations such as trigonometric
functions, hyperbolic functions, exponential, logarithms, etc. |
| NegativeArraySizeException | Thrown when an attempt is made to create an array with a size of less than
zero. |
| NoClassDefFoundError | Thrown when the VM is unable to locate a class which it has been
asked to load. |
| NoSuchFieldError |
Note that this can only occur when inconsistent class files are being loaded. |
| NoSuchFieldException | Thrown when the VM notices that a program tries to reference,
on a class or object, a field that does not exist. |
| NoSuchMethodError | Thrown when the VM notices that a program tries to reference,
on a class or object, a method that does not exist. |
| NoSuchMethodException | Thrown when the VM notices that a program tries to reference,
on a class or object, a method that does not exist. |
| NullPointerException | Thrown when a program tries to access a field or method of an object or an
element of an array when there is no instance or array to use, that is if the
object or array points to null. |
| Number | The abstract superclass of the classes which represent numeric base types
(that is Java.Lang.Byte, Java.Lang.Short, Java.Lang.Integer, Java.Lang.Long,
Java.Lang.Float, and Java.Lang.Double. |
| NumberFormatException | Thrown when an invalid value is passed to a string-to-number conversion
method. |
| Object | See Effective Java item 10 for much more detail and clarification. |
| OutOfMemoryError | Thrown when a request for memory is made that can not be satisfied using the
available platform resources. |
| Override | Annotation type used to mark methods that override a method declaration in a
superclass. |
| Package |
Packages are managed by class loaders. |
| Process | For example, to run /system/bin/ping to ping android.com:
Process process = new ProcessBuilder()
.command("/system/bin/ping", "android.com")
.redirectErrorStream(true)
.start();
try {
InputStream in = process.getInputStream();
OutputStream out = process.getOutputStream();
readStream(in);
finally {
process.destroy();
}
} |
| ProcessBuilder | Creates operating system processes. |
| Runnable | Documentation for this section has not yet been entered. |
| Runtime | Allows Java applications to interface with the environment in which they are
running. |
| RuntimeException | RuntimeException is the superclass of all classes that represent
exceptional conditions which occur as a result of executing an application in
the VM. |
| RuntimePermission | Legacy security code; do not use. |
| SecurityException | Thrown when a security manager check fails. |
| SecurityManager | Security managers do not provide a
secure environment for executing untrusted code. |
| Short | The wrapper for the primitive type short. |
| StackOverflowError | Thrown when the depth of the stack of the running program exceeds some
platform or VM specific limit. |
| StackTraceElement | A representation of a single stack frame. |
| StrictMath | [Android Documentation] |
| String | Multiple strings can share the same char[] because strings are immutable. |
| StringBuffer | The majority of the modification methods on this class return this so that method calls can be chained together. |
| StringBuilder | The majority of the modification methods on this class return this so that method calls can be chained together. |
| StringIndexOutOfBoundsException | Thrown when the a string is indexed with a value less than zero, or greater
than or equal to the size of the array. |
| SuppressWarnings |
It is recommended that programmers always use this annotation on the most
deeply nested element where it is actually needed. |
| Thread |
Each Thread has an integer priority that basically determines the
amount of CPU time the Thread gets. |
| Thread.State | A representation of a thread's state. |
| ThreadDeath | ThreadDeath is thrown when a thread stops executing. |
| ThreadGroup | ThreadGroup is a means of organizing threads into a hierarchical structure. |
| ThreadLocal | Implements a thread-local storage, that is, a variable for which each thread
has its own value. |
| Throwable |
A Throwable can also include a cause, which is a nested Throwable that represents the original problem that led to this Throwable. |
| TypeNotPresentException | Thrown when a program tries to access a class, interface, enum or annotation
type through a string that contains the type's name and the type cannot be
found. |
| UnknownError | Thrown when the VM must throw an error which does not match any
known exceptional condition. |
| UnsatisfiedLinkError | Thrown when an attempt is made to invoke a native for which an implementation
could not be found. |
| UnsupportedClassVersionError | Thrown when an attempt is made to load a class with a format version that is
not supported by the VM. |
| UnsupportedOperationException | Thrown when an unsupported operation is attempted. |
| VerifyError | Thrown when the VM notices that an attempt is made to load a
class which does not pass the class verification phase. |
| VirtualMachineError | VirtualMachineError is the superclass of all error classes that occur
during the operation of the VM. |