The Gateway to Computer Science Excellence
+3 votes

The built-in base class in java, which is used to handle all exceptions is

  1. Raise
  2. Exception
  3. Error
  4. Throwable
in Java by Boss (30.8k points) | 2.2k views
Java exception classes are organised into a hierarchy. There is a basic exception class called Exception as you might expect. But in fact, the base of the hierarchy starts not with Exception but with a class called Throwable, which is then subclassed into Exception and Error. This class (Throwable) serves as the base class for an entire family of classes, declared in java.lang, that your program can instantiate and throw.

More Java Interview Questions and Answers...

1 Answer

+3 votes
Best answer

Throwable is the base class of all exceptions in java. Exception and Error are sub classes of  Throwable .

Base class to handle Excption

by Boss (38.7k points)
selected by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,297 answers
104,977 users