Thread: Exeption must be caught or declared to be thrown

Results 1 to 3 of 3
  1. #1 Exeption must be caught or declared to be thrown 
    Registered Member
    Join Date
    Jul 2011
    Posts
    91
    Thanks given
    8
    Thanks received
    0
    Rep Power
    8
    Please close, I fixed it.
    Reply With Quote  
     

  2. #2  
    - Mark Lore -
    Join Date
    Jun 2010
    Posts
    304
    Thanks given
    19
    Thanks received
    16
    Rep Power
    28
    You have to surround it with try and catch.

    Like:
    [code]
    try{
    YOURCODEHERE
    } catch(exception e) {
    }
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2011
    Posts
    91
    Thanks given
    8
    Thanks received
    0
    Rep Power
    8
    Quote Originally Posted by fffrunegod View Post
    You have to surround it with try and catch.

    Like:
    [code]
    try{
    YOURCODEHERE
    } catch(exception e) {
    }
    Thanks but I had fixed it already .

    Needs to be closed.
    Spoiler for :
    Quote Originally Posted by dubby View Post
    when i save this into client.java it doesnt save as a CLASS file, it just saves as a text document. probably a stupid question but how do i save it as a CLASS file.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 12
    Last Post: 12-08-2009, 07:07 PM
  2. [508]Exeption[508]
    By Cocaine in forum Help
    Replies: 14
    Last Post: 03-06-2009, 04:28 AM
  3. [508]Exeption[508]
    By Cocaine in forum Help
    Replies: 9
    Last Post: 01-18-2009, 08:54 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •