|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||
Uses of Class
java.lang.RuntimeException
| Uses of RuntimeException in java.lang |
| Subclasses of RuntimeException in java.lang | |
class |
ArithmeticException
Thrown when a math error has occured, such as trying to divide an integer by zero. |
class |
ArrayIndexOutOfBoundsException
Thrown when attempting to access a position outside the valid range of an array. |
class |
ArrayStoreException
Thrown when trying to store an object of the wrong runtime type in an array. |
class |
ClassCastException
Thrown when an attempt is made to cast an object which is not of the appropriate runtime type. |
class |
EnumConstantNotPresentException
An exception of this type is thrown when a symbolic reference is made to an enum constant which does not exist. |
class |
IllegalArgumentException
Thrown when a method is passed an illegal or inappropriate argument. |
class |
IllegalMonitorStateException
Thrown when a thread attempts to wait or notify on a monitor that it does not own (ie. |
class |
IllegalStateException
Thrown when a method is invoked at an illegal or inappropriate time. |
class |
IllegalThreadStateException
Thrown When trying to manipulate a Thread which is in an inappropriate state. |
class |
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. |
class |
NegativeArraySizeException
Thrown when an attempt is made to create an array with a negative size. |
class |
NullPointerException
Thrown when attempting to use null where an object
is required. |
class |
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. |
class |
SecurityException
The security manager will throw this exception to indicate a security violation. |
class |
StringIndexOutOfBoundsException
This exception can be thrown to indicate an attempt to access an index which is out of bounds of a String. |
class |
TypeNotPresentException
Thrown when a type is accessed using a String-based
representation, but no definition of the supplied type is found. |
class |
UnsupportedOperationException
This exception is thrown by an object when an operation is requested of it that it does not support. |
|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||