Win a copy of Design for the Mind this week in the Design 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic