This week's book giveaway is in the
General Computing
forum.
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Java in General
Author
Exception
naresh babu
Greenhorn
Joined: Feb 12, 2002
Posts: 12
posted
Feb 12, 2002 09:52:00
0
Hi,
I had a question in exception:
public class exception1 extends Exception{}
public class exception2 extends exception1{}
I want client to catch only exception2, but
not exception1.Any ideas?
Thanks
Roy Ben Ami
Ranch Hand
Joined: Jan 13, 2002
Posts: 732
posted
Feb 12, 2002 10:11:00
0
catch(Exception2 e){} ???
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Exception
Similar Threads
code problem.help please!!!!
Exceptions
explain try catch problem
exception question,why?
method overriding
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter