end the method that call this method
<p>Is there a way to end the method that calls on the method that the code is in. Let me explain if you have some code like this.</p>

<pre><code>int value;
value = method();
value = 3;
</code></pre>

<p>If I got it work like I want then the execution of the code would end on line 2 and line 3 would never be executed. basically it would be like there was a return between line 2 and 3. Is is something like this possible with Java?</p>

<p>Edit: Ok i think a lot of people have misunderstood me. The code that end the code on in this method on line 2 should be inside of method() and it should not be possible to avoid this outside this method if it's call inside of a try for example.</p>
