Class Summary Class Description Boolean Byte Character Class<T>The in-memory representation of a Java class. Integer LongThe wrapper for the primitive type
MathClass Math provides basic math constants and operations such as trigonometric functions, hyperbolic functions, exponential, logarithms, etc. ObjectThe root class of the Java class hierarchy. RuntimeAllows Java applications to interface with the environment in which they are running. Short StackTraceElementA representation of a single stack frame. StringAn immutable sequence of characters/code units (
StringBufferStringBuffer is a variable size contiguous indexable array of characters. StringBuilder SystemProvides access to system-related information and resources including standard input and output. ThreadA
Threadis a concurrent unit of execution.
ThrowableThe superclass of all classes which can be thrown by the virtual machine.
Exception Summary Exception Description ArithmeticExceptionThrown when the an invalid arithmetic operation is attempted. ArrayIndexOutOfBoundsExceptionThrown when the an array is indexed with a value less than zero, or greater than or equal to the size of the array. ArrayStoreExceptionThrown when a program attempts to store an element of an incompatible type in an array. ClassCastExceptionThrown when a program attempts to cast a an object to a type with which it is not compatible. ClassNotFoundExceptionThrown when a class loader is unable to find a class. Exception
Exceptionis the superclass of all classes that represent recoverable exceptions.
IllegalAccessExceptionThrown when a program attempts to access a field or method which is not accessible from the location where the reference is made. IllegalArgumentExceptionThrown when a method is invoked with an argument which it can not reasonably deal with. IndexOutOfBoundsExceptionThrown when a program attempts to access a value in an indexable collection using a value which is outside of the range of valid indices. InstantiationExceptionThrown when a program attempts to access a constructor which is not accessible from the location where the reference is made. InterruptedExceptionThrown when a waiting thread is activated before the condition it was waiting for has been satisfied. NegativeArraySizeExceptionThrown when an attempt is made to create an array with a size of less than zero. NullPointerExceptionThrown 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
NumberFormatExceptionThrown when an invalid value is passed to a string-to-number conversion method. RuntimeException
RuntimeExceptionis the superclass of all classes that represent exceptional conditions which occur as a result of executing an application in the virtual machine.
SecurityExceptionThrown when a security manager check fails. StringIndexOutOfBoundsExceptionThrown 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 AbstractMethodErrorThrown by the virtual machine when an abstract method is called. Error
Erroris the superclass of all classes that represent unrecoverable errors.
ExceptionInInitializerErrorThrown when an exception occurs during class initialization. IllegalAccessErrorThrown when the virtual machine notices that a program tries access a field which is not accessible from where it is referenced. IncompatibleClassChangeError
IncompatibleClassChangeErroris the superclass of all classes which represent errors that occur when inconsistent class files are loaded into the same running image.
OutOfMemoryErrorThrown when a request for memory is made that can not be satisfied using the available platform resources. StackOverflowErrorThrown when the depth of the callstack of the running program excedes some platform or virtual machine specific limit. UnsatisfiedLinkErrorThrown when an attempt is made to invoke a native for which an implementation could not be found. VirtualMachineError
VirtualMachineErroris the superclass of all error classes that occur during the operation of the virtual machine.