Salmon.java shows how you can continue output after throwing an error if a new thread is started before the error is thrown