View Single Post
  #1 (permalink)  
Old 11-09-2007, 08:24 PM
bugger bugger is offline
Senior Member
 
Join Date: Nov 2007
Posts: 111
bugger is on a distinguished road
throwing Exception
I want to throw exception manually. I tried the following but it fails.
Code:
throw java.lang.ArrayIndexOutOfBoundsException;
I get following exception:
Code:
Exception in thread "main" java.lang.Error: Unresolved compilation problem: java.lang.ArrayIndexOutOfBoundsException cannot be resolved
Please advice.
Reply With Quote
Sponsored Links