Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8423787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:49:13+00:00 2026-06-10T03:49:13+00:00

All the interfaces in Java like Serializable, Cloneable, Observable etc are suffixed with -able.

  • 0

All the interfaces in Java like Serializable, Cloneable, Observable etc are suffixed with “-able”. However, java.lang.Throwable is not an interface but a class.

I understand the usage of java.lang.Throwable but I cannot understand why it is named in that fashion. Is there a specific reason for this anomaly ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:49:15+00:00Added an answer on June 10, 2026 at 3:49 am

    An interview lost to the dustbins of the internet with James Gosling, an ex-VP of Sun and a main architect of Java explains why the decision was made to make Throwable a class and not an interface. The main reason was because throwables needed to track state:

    JDC: Why is Throwable not an interface? The name kind of suggests it should have been.  
    Being able to catch for types, that is, something like try{}catch (<some interface or 
    class>), instead of only classes. That would make [the] Java [programming language] 
    much more flexible.
    
    JG: The reason that the Throwable and the rest of those guys are not interfaces is 
    because we decided, or I decided fairly early on. I decided that I wanted to have some 
    state associated with every exception that gets thrown. And you can't do that with 
    interfaces; you can only do that with classes. The state that's there is basically 
    standard. There's a message, there's a snapshot, stuff like that — that's always there.    
    and also, if you make Throwable an interface the temptation is to assign, to make any 
    old object be a Throwable thing. It feels stylistically that throwing general objects 
    is probably a bad idea, that the things you want to throw really ought to be things 
    that are intended to be exceptions that really capture the nature of the exception and 
    what went on. They're not just general data structures.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to write my own marker interfaces like java.io.Serializable or Cloneable which can
I'd like to be able to annotate a public class/interface in Java as @NonPublic
As you know, in a java interface, all methods have to be defined as
all the D3D interfaces are derived from COM's IUnknown interface, so I though I'd
I have a project with all my Interface definitions: RivWorks.Interfaces I have a project
I've been using the CodeIgniter framework, however after learning Java and awesome features like
I know that command line interfaces like Git and others are able to hide
Currently I do the following to listen on any available port on all interfaces:
Is okay to break all dependencies using interfaces just to make a class testable?
I am writing a simple batch script to retrieve all the network interfaces on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.