Results 1 to 14 of 14

Thread: breaking out of a method [resolved]

Threaded View

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    breaking out of a method [resolved]

    Does anyone if there is a way to break out of a method in Java?
    I have a return statement inside of a catch block and when an exception is thrown the contents of the catch block are executed but instead of the method returning back to it's caller the code after the try{ is being executed. Is there another way to handle this?
    Last edited by Dilenger4; Oct 1st, 2001 at 03:10 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width