I have looked in the Javadoc but couldn\'t find information related to this.
I want the application to stop executing a method if code in that method tells it to do
Either return; from the method early, or throw an exception.
return;
throw
There is no other way to prevent further code from being executed short of exiting the process completely.