Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1594
| From | Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: Catching Thrown Exceptions |
| Organization | none |
| References | <6693b355-c89b-4855-b6d3-0ed7e532cc88@c21g2000yqi.googlegroups.com> <a29b4926-7e8e-4753-94f8-7f8da93bcd7a@a15g2000yqf.googlegroups.com> |
| Date | 2012-02-22 14:02 +0200 |
| Message-ID | <m3ehtnxeii.fsf@despammed.com> (permalink) |
Davej <galt_57@hotmail.com> writes:
> On Feb 21, 12:36 am, Davej <galt...@hotmail.com> wrote:
>> I figured that if you threw an exception inside a try it would be
>> caught. No? In my Java program the throw was not caught. In C# this is
>> the way things work.
>
> Ok, I apologize for not including specific details. This is a jsp file
> and I had the following inside a try block...
>
> if ( condition )
> {
> throw exception;
> }
What the others said, and..
I can't see variables condition and exception defined anywhere.
Or a try block.
Or a catch block.
So, I guess the error must be on line 42. Or line 16514. Or somewhere
between, before, or after them.
--
Jukka Lahtinen
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar
Catching Thrown Exceptions Davej <galt_57@hotmail.com> - 2012-02-20 22:36 -0800
Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-20 23:33 -0800
Re: Catching Thrown Exceptions Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-02-21 07:58 -0500
Re: Catching Thrown Exceptions Roedy Green <see_website@mindprod.com.invalid> - 2012-02-21 10:12 -0800
Re: Catching Thrown Exceptions Davej <galt_57@hotmail.com> - 2012-02-21 11:56 -0800
Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-21 16:14 -0800
Re: Catching Thrown Exceptions Davej <galt_57@hotmail.com> - 2012-02-23 09:20 -0800
Re: Catching Thrown Exceptions markspace <-@.> - 2012-02-23 10:13 -0800
Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-23 14:34 -0800
Re: Catching Thrown Exceptions Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-02-23 14:47 -0800
Re: Catching Thrown Exceptions Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-02-23 20:45 -0400
Re: Catching Thrown Exceptions Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-02-22 14:02 +0200
Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-22 08:00 -0800
Re: Catching Thrown Exceptions Davej <galt_57@hotmail.com> - 2012-02-21 12:35 -0800
Re: Catching Thrown Exceptions Lew <noone@lewscanon.com> - 2012-02-21 16:17 -0800
csiph-web