- Java.lang Package classes
- Java.lang - Home
- Java.lang - Boolean
- Java.lang - Byte
- Java.lang - Character
- Java.lang - Character.Subset
- Java.lang - Character.UnicodeBlock
- Java.lang - Class
- Java.lang - ClassLoader
- Java.lang - Compiler
- Java.lang - Double
- Java.lang - Enum
- Java.lang - Float
- Java.lang - InheritableThreadLocal
- Java.lang - Integer
- Java.lang - Long
- Java.lang - Math
- Java.lang - Number
- Java.lang - Object
- Java.lang - Package
- Java.lang - Process
- Java.lang - ProcessBuilder
- Java.lang - Runtime
- Java.lang - RuntimePermission
- Java.lang - SecurityManager
- Java.lang - Short
- Java.lang - StackTraceElement
- Java.lang - StrictMath
- Java.lang - String
- Java.lang - StringBuffer
- Java.lang - StringBuilder
- Java.lang - System
- Java.lang - Thread
- Java.lang - ThreadGroup
- Java.lang - ThreadLocal
- Java.lang - Throwable
- Java.lang - Void
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
The java.lang.Errors provides for different errors thrown under java lang package.
|Sr.No.||Error & Description|
This is Thrown when an application tries to call an abstract method.
This is Thrown to indicate that an assertion has failed.
This is Thrown when a circularity has been detected while initializing a class.
This is Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
This is an Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
These are the Signals that an unexpected exception has occurred in a static initializer.
This is Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to
This is Thrown when an incompatible class change has occurred to some class definition.
This is Thrown when an application tries to use the Java new construct to instantiate an abstract class or an interface.
This is Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.
The Subclasses of LinkageError indicate that a class has some dependency on another class.
This is Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class and no definition of the class could be found.
This is Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.
This is Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.
This is Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
This is Thrown when a stack overflow occurs because an application recurses too deeply.
This is an instance of ThreadDeath is thrown in the victim thread when the stop method with zero arguments in class Thread is called.
This is Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.
This is Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.
This is Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.
This is Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.
This is Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.