Package java.lang
-
Class Summary Class Description Boolean Byte Character Class<T> The in-memory representation of a Java class.Integer Long The wrapper for the primitive typelong
.Math Class Math provides basic math constants and operations such as trigonometric functions, hyperbolic functions, exponential, logarithms, etc.Object The root class of the Java class hierarchy.Runtime Allows Java applications to interface with the environment in which they are running.Short StackTraceElement A representation of a single stack frame.String An immutable sequence of characters/code units (char
s).StringBuffer StringBuffer is a variable size contiguous indexable array of characters.StringBuilder System Provides access to system-related information and resources including standard input and output.Thread AThread
is a concurrent unit of execution.Throwable The superclass of all classes which can be thrown by the virtual machine. -
Exception Summary Exception Description 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.ClassCastException Thrown when a program attempts to cast a an object to a type with which it is not compatible.ClassNotFoundException Thrown when a class loader is unable to find a class.Exception Exception
is the superclass of all classes that represent recoverable exceptions.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.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.InstantiationException Thrown when a program attempts to access a constructor which is not accessible from the location where the reference is made.InterruptedException Thrown when a waiting thread is activated before the condition it was waiting for has been satisfied.NegativeArraySizeException Thrown when an attempt is made to create an array with a size of less than zero.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 tonull
.NumberFormatException Thrown when an invalid value is passed to a string-to-number conversion method.RuntimeException RuntimeException
is the superclass of all classes that represent exceptional conditions which occur as a result of executing an application in the virtual machine.SecurityException Thrown when a security manager check fails.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. -
Error Summary Error Description AbstractMethodError Thrown by the virtual machine when an abstract method is called.Error Error
is the superclass of all classes that represent unrecoverable errors.ExceptionInInitializerError Thrown when an exception occurs during class initialization.IllegalAccessError Thrown when the virtual machine notices that a program tries access a field which is not accessible from where it is referenced.IncompatibleClassChangeError IncompatibleClassChangeError
is the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image.OutOfMemoryError Thrown when a request for memory is made that can not be satisfied using the available platform resources.StackOverflowError Thrown when the depth of the callstack of the running program excedes some platform or virtual machine specific limit.UnsatisfiedLinkError Thrown when an attempt is made to invoke a native for which an implementation could not be found.VirtualMachineError VirtualMachineError
is the superclass of all error classes that occur during the operation of the virtual machine.