Results 1 to 6 of 6

Thread: What is runtime errors in the programming?

  1. #1
    Join Date
    Nov 2009
    Posts
    862

    What is runtime errors in the programming?

    Hi Friends,

    I am new in the programming field. I am not aware about the runtime error. Whenever I try to run some particular program code ,program gets terminate in middle of the program execution. somebody told me that it is runtime error.
    Anybody knows What is runtime errors in the programming? I am waiting fro your reply.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: What is runtime errors in the programming?

    Basically there are two type of the errors which is as follows:
    Runtime errors:
    This type of the error occurred while the program execution. This type of the errors are occurred because of the coding logic problem. Example:If the value you are assigning to the variable is greater than the size of the data type then you will get the syntax error.

    Compile time errors:
    This type of the error occurred while the program compilation. This type of the errors are occurred because of the syntax errors.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: What is runtime errors in the programming?

    Hellow,

    If you are getting runtime error then it must be one of the following:
    1. Out of memory exception.
    2. Unexpected exception.
    3. You can re-thrown exception only within a handler
    4. Stack overflow.
    5. Memory out of bound exception.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: What is runtime errors in the programming?

    Hi,

    Mainly in the programming you will get tree type of the errors i.e Runtime error, Logic error, and compile time errors. You will get the runtime error only when you are executing the program code.
    Mostly because of the syntax and coding errors you may get the compile time errors. If you have used the one loop in the program , and while running this program if this loop goes into the indefinite looping then it is referred as logic error.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: What is runtime errors in the programming?

    Hello,

    Suppose you have the one expression such as:

    ABC = PQR / XYZ ; // ABC, PQR, and XYZ are variable

    If the you have assigned the zero value for the variable "XYZ" . And if you run this program you will definitely get the runtime error for this.
    The runtime errors are occurs when you try to make impossible arithmetic operations.

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

    Re: What is runtime errors in the programming?

    Hi,

    The runtime error are unexpected in the program. We are not able to predict when our coding logic goes fails. By using compiler we can find outs the compiler error but there is no tool to identify the runtime errors before they occur.
    If you want to aware about the different runtime errors then please visit to below link:
    http://docs.sun.com/app/docs/doc/805...4mg8077?a=view

Similar Threads

  1. Errors in printf() in c programming
    By RamBarose in forum Education Career and Job Discussions
    Replies: 6
    Last Post: 27-04-2011, 10:36 PM
  2. InDesign Runtime Errors
    By Gajendra1 in forum Windows Software
    Replies: 6
    Last Post: 21-07-2010, 11:17 AM
  3. Replies: 3
    Last Post: 22-04-2009, 11:02 PM
  4. Fix Runtime Errors in Internet Explorer
    By jhon in forum Technology & Internet
    Replies: 4
    Last Post: 21-04-2009, 10:46 AM
  5. Troubleshoot runtime errors in IE 6.0?
    By Antrix in forum Technology & Internet
    Replies: 4
    Last Post: 07-03-2009, 06:58 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,586,312.96666 seconds with 16 queries