What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Exception vs Throwable - What's the difference?

exception | throwable |

As nouns the difference between exception and throwable

is that exception is exception while throwable is (computing|programming) a throwable object.

As an adjective throwable is

(computing|programming) that can be thrown in the manner of an exception.

exception

English

Noun

(en noun)
  • The act of excepting or excluding; exclusion; restriction by taking out something which would otherwise be included, as in a class, statement, rule.
  • That which is excepted or taken out from others; a person, thing, or case, specified as distinct, or not included; as, almost every general rule has its exceptions.
  • (legal) An objection, on legal grounds; also, as in conveyancing, a clause by which the grantor excepts or reserves something before the right is transferred.
  • (senseid)An objection; cavil; dissent; disapprobation; offense; cause of offense; — usually followed by to or against.
  • (computing) An interruption in normal processing, especially as caused by an error condition.
  • Derived terms

    * checked exception * exception that proves the rule * take exception * there is an exception to every rule * without exception

    throwable

    English

    Adjective

    (-)
  • (computing, programming) That can be thrown in the manner of an exception.
  • * 1997 , Babak Sadr, Grady Booch, Unified objects: object-oriented programming using C++
  • For an object to be throwable , it must be directly or indirectly derived from the Throwable class.
  • * 2001 , Alan Burns, Andrew J Wellings, Real-time systems and programming languages
  • In general, each function may specify a list of throwable objects...
  • * 2006 , William Von Hagen, The definitive guide to GCC
  • ...if you need to make certain symbols visible externally for debugging purposes or for catching exceptions for throwable entities within a library.
  • That can be thrown (in any other context)
  • Derived terms

    * throwability

    Anagrams

    *

    Noun

    (en noun)
  • (computing, programming) A throwable object
  • Exceptions are thrown when some module of the project detects an error condition or if it handles some standard Java throwables .