Exception vs Throwable - What's the difference?
exception | throwable |
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.
(computing, programming) That can be thrown in the manner of an exception.
* 1997 , Babak Sadr, Grady Booch, Unified objects: object-oriented programming using C++
* 2001 , Alan Burns, Andrew J Wellings, Real-time systems and programming languages
* 2006 , William Von Hagen, The definitive guide to GCC
That can be thrown (in any other context)
(computing, programming) A throwable object
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)Derived terms
* checked exception * exception that proves the rule * take exception * there is an exception to every rule * without exceptionthrowable
English
Adjective
(-)- For an object to be throwable , it must be directly or indirectly derived from the
Throwableclass.
- In general, each function may specify a list of throwable objects...
- ...if you need to make certain symbols visible externally for debugging purposes or for catching exceptions for throwable entities within a library.
Derived terms
* throwabilityAnagrams
*Noun
(en noun)- Exceptions are thrown when some module of the project detects an error condition or if it handles some standard Java throwables .
