AbstractMethodError |
Thrown by the virtual machine when an abstract method is called. |
AllocationLimitError |
Is thrown when an allocation limit is exceeded. |
ClassCircularityError |
Thrown when the virtual machine notices that an attempt is made to load a
class which would directly or indirectly inherit from one of its subclasses. |
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. |
ComparisonFailure |
Thrown when an assert equals for Strings failed. |
ExceptionInInitializerError |
Thrown when an exception occurs during class initialization. |
GenericSignatureFormatError |
Indicates that a malformed signature has been encountered via a reflective
method. |
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. |
InstantiationError |
Thrown when the virtual machine notices that a program tries to create a new
instance of a class which has no visible constructors from the location where
new is invoked. |
InternalError |
Thrown when the virtual machine notices that it has gotten into an undefined
state. |
NoClassDefFoundError |
Thrown when the virtual machine is unable to locate a class which it has been
asked to load. |
NoSuchFieldError |
Thrown when the virtual machine notices that a program tries to reference,
on a class or object, a field that does not exist. |
NoSuchMethodError |
Thrown when the virtual machine notices that a program tries to reference,
on a class or object, a method that does not exist. |
OutOfMemoryError |
Thrown when a request for memory is made that can not be satisfied using the
available platform resources. |
PotentialDeadlockError |
Is thrown when the VM identifies a potential deadlock. |
StackOverflowError |
Thrown when the depth of the callstack of the running program excedes some
platform or virtual machine specific limit. |
StaleDexCacheError |
Is thrown when the VM determines that a DEX file's cache is out of date, and
that there is no way to recreate it. |
UnknownError |
Thrown when the virtual machine 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 virtual machine. |
VerifyError |
Thrown when the virtual machine notices that an attempt is made to load a
class which does not pass the class verification phase. |