Results 1 to 1 of 1
  1. #1
    Java Tip's Avatar
    Java Tip is offline Moderator
    Join Date
    Nov 2007
    Blog Entries
    Rep Power

    Default Checked Exception

    Checked Exceptions are to be handled by the programmer otherwise the compiler will show errors (compile-time error). These exceptions do not extend RunTimeException class.

    Java Code:
    FileOutputStream out = new FileOutputStream("myfile.txt");
    }catch(Exception ex)
    Last edited by Java Tip; 11-18-2007 at 09:09 PM.

Similar Threads

  1. Need help on Exception
    By Deon in forum New To Java
    Replies: 7
    Last Post: 02-11-2010, 06:46 PM
  2. Where does the exception go?
    By aytidaalkuhs in forum New To Java
    Replies: 3
    Last Post: 04-07-2008, 03:24 PM
  3. exception
    By Oktam in forum New To Java
    Replies: 2
    Last Post: 03-23-2008, 08:01 PM
  4. Replies: 1
    Last Post: 03-08-2008, 07:41 PM
  5. Exception
    By Camden in forum New To Java
    Replies: 2
    Last Post: 11-27-2007, 12:50 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