Jump to content

Talk:Exceptions/Catch an exception thrown in a nested call: Difference between revisions

What if you don't say what something throws in Java?
(What if you don't say what something throws in Java?)
Line 9:
 
==Ada example and un-caught exception==
The Ada example catches both exceptions at some level rather than leaving one un-ccaughtcaught and explaining the consequences. Could someone make the change? --[[User:Paddy3118|Paddy3118]] 11:54, 22 March 2009 (UTC)
: Fixed --[[User:Dmitry-kazakov|Dmitry-kazakov]] 15:43, 22 March 2009 (UTC)
 
==A question on Java==
If you changed <code>public static void foo() throws U1</code> to remove the reference to it throwing U1, would that always be a compile time error? --[[User:Paddy3118|Paddy3118]] 05:14, 1 May 2009 (UTC)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.