Results 1 to 3 of 3
  1. #1
    ron2794 is offline Member
    Join Date
    Dec 2010
    Posts
    38
    Rep Power
    0

    Default help me with exception

    hi , all , i am weak in handling the exceptions, i can write the programs in java quite easily but when it comes to debugging, i am nill, i dont know anything how to know where i am getting err., i hear ppl talking abt stack overflow etc, but i don't know their meaning, btw, what is stack overflow ??

    also i see the big exceptions shown in the output window i just know the meaning of first line, i.e the name of the exceptions but don't know abt what is written after that, plz help me with this.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    For the first question, in simple terms stack overflow is something like memory usage too high and it's not enough assign amount for that operation. But actually you have to learn a lot there.

    Exceptions are errors in your code, could be compile time or runtime. Say for an example you are reading a file in Java. You set the file name to something wrong, or something not exist. But when you compile the code compiler not check that file is exist or not. So no errors at all. Then you run it, what happen? The file you specified is not found by the VM. As a result end with an error.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Replies: 4
    Last Post: 10-25-2010, 07:42 PM
  2. About Exception
    By suresh.sa in forum New To Java
    Replies: 2
    Last Post: 10-18-2010, 08:49 AM
  3. Exception
    By PhQ in forum Networking
    Replies: 11
    Last Post: 07-28-2010, 09:37 AM
  4. exception
    By thamizhisai in forum Advanced Java
    Replies: 9
    Last Post: 05-30-2008, 08:47 AM
  5. Replies: 1
    Last Post: 03-08-2008, 06:41 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
  •