I've got a Main() that gets executed as as Thread on a schedule. If an exception happens (e.printStackTrace), the threads aborts and waits until the next starts.
I want to be able to abort the thread without throwing an exeption. Inside the Main()-Class it's fairly easy, just "return false", and the thread ends.
But when I'm inside a Class/Object of a Class, I can't do that. How can I abort/finish the Main from within a subclass?