Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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.
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!