Deepak Verma
what is the difference between error and exception?
By Deepak Verma in Visual Basic .NET on Mar 25 2011
  • Ravendra Singh
    Jun, 2015 18

    Error: This is the syntax problem, which leads to complation problem.Exception:- This is the run time error which interrupts the application execution. (These can be the exceptional cases were the applications logic fail or should fail eg devided by zero).

    • 1
  • sudhakar Garikipati
    Jul, 2011 7

    Error: This is the syntax problem, which leads to complation problem.

    Exception:- This is the run time error which interrupts the application execution. (These can be the exceptional cases were the applications logic fail or should fail eg devided by zero).

    • 0
  • Munesh  Sharma
    Mar, 2011 25

    Error:
    In the terms of programming language, error is include only the compile time such as syntax error .That cant not be handle by any Handler. 

    Exception:
    In the terms of programming language,exception is a logical error such as Stack overflow, array unbounded, one/zero and etc. All the logical error handle by the exception handler such as try-catch ,throws etc.

    • 0
  • Ankit Nandekar
    Mar, 2011 25

    Exceptions are those which can be handled at the run time
    where as errors cannot be handled.
    Examples for exceptions: Array out of bonds, attempt to
    divide by zero ,etc.
    Exceptions can be handled by handlers using try - catch.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS