Yes of course: static final
can be initialized in a static block but.... You have GOTOs in that example (that you don't see but the try/catch
is basically a 'GOTO catch if something bad happens').
If an exception is thrown, subsequent final
variables shall not be initialized.
Note that overall static
fly against the logic of OO and make the OO purists want to cry.
From a more 'down to earth' point of view it shall undoubtly complicate your testing as well as make debugging harder.