Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Checked and Unchecked Exceptions

 
Shawntelle Coker
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does one have to memorize whether any exception is checked or not? My poor brain is getting so full. Do I need to memorize whether all the exceptions are checked or not?
Thank you.
Shawntelle
 
zarina mohammad
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to remember atleast the most common exceptions and be able to distinguish the checked from the unchecked exceptions.
some of the common exceptions to remember
ArithmeticException
ClassCastException
IllegalArgumentException
IndexOutOfBoundsException
NullPointerException
ClassNotFoundException
InterruptedException
IllegalAccessException
 
Serena Chen
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what does it mean when you say the exception is "checked"?
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic