in Java
6,296 views
3 votes
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
6.3k views

1 comment

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...

http://net-informations.com/java/cjava/default.htm
0
0

1 Answer

3 votes
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

selected by
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