Special class that is the basis for treatable exceptions. If an exception occurs, an object of an exception class is generated. There are predefined exception classes for exceptions of the runtime environment, and self-defined exception classes for custom applications.