This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thrown programatically or by the JVM

 
Cao Bin
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fill in the table to indicate which Exception and Error classes are typically thrown programatically and which by the JVM.

Exception/Error class:
ArrayIndexOutOfBoundsException
ClassCastException

What's the difference between programatically and by the jvm?
 
John Stone
Ranch Hand
Posts: 332
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand "programatically" as thrown by some Java code. Exceptions thrown by JVM have their origin somewhere in JVM implementation.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic