Hi Stephan,
Apologies for the late reply.
Stephan Koops wrote:
> Hello,
>
> I take back my proposal to make the WebApplicationExcepton a non runtime
> Exception, because no one profit of it, if it is not a runtime exception.
>
Right, it is the responsibility of developer to throw this exception and
the runtime to catch this exception. Having it as a checked exception
just creates more work for the developer as they have to tack on throws
declarations to their methods.
Paul.
> greetings
> Stephan Koops
>
> Stephan Koops schrieb:
>> Hello,
>>
>> for the JSR-311 I have a questions:
>> Why is the WebApplicationException a subclass of *Runtime*Exception
>> and not of java.lang.Exception?
>> Perhaps it is a philosophical question, but I think it is better if a
>> programmer know, what kinds of exception he should expect, also in his
>> own resource classes.
>>
>> Greetings
>> Stephan Koops
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109