Have you tried? IIRC, a try block needs to be followed by at least one catch *or* finally block, but I might be wrong...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
that is illegal~~ each try block should match a catch block and the finalize block is optional -- Robbies ----------------------------- 1.java IDE tool : JawaBeginer 2.Java Jar tool : JavaJar http://www.pivotonic.com
Ilja recalled correctly. A try block must have an associated catch or finally block. So, the catch block is also optional. As mentioned, the compiler is one of the best ways to discover such requirements of the language.