How to retry opening a properties file in Java

Posted by Hoggy on Stack Overflow See other posts from Stack Overflow or by Hoggy
Published on 2010-04-26T11:04:26Z Indexed on 2010/04/26 11:13 UTC
Read the original article Hit count: 306

I'm trying to handle an FileNotFoundException in Java by suspending the thread for x seconds and rereading the file. The idea behind this is to edit properties during runtime.

The problem is that the programm simply terminates. Any idea how to realize this solution?

© Stack Overflow or respective owner

Related posts about java

Related posts about filenotfoundexception