Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> > You must be inheriting all your three exceptions classes from Exception class. So, in catch just pass an argument of type Exception and not of one of three types you have created and this will catch any of your three types of exceptions. > > try {
Replies: |
Sponsored Links
|