Browse Definitions :
Definition

exception

An exception, in programming, is an unplanned event, such as invalid input or a loss of connectivity, that occurs while a program is executing and disrupts the flow of its instructions. Exception is a short way of saying exceptional event.

In Java, exceptions exist as a class, java.lang.Exception, with two main subclasses, IOException and RuntimeException. Checked exceptions occur when the program is compiled; for the most part, the program should be able to recover from these. These can be things like FileNotFoundException, for example, or InvalidInputExceptionException handling code can be written to deal with the issue, so that the program can continue.

Unchecked exceptions are events that aren’t planned for, so they aren’t checked at compile time – they happen when the program executes and typically can’t be handled. An unchecked exception that cannot be handled by the program is known as a fatal exception because it forces the operating system to close the program and possibly shut down the entire system. An error is a type of unchecked exception, although there are others.

This was last updated in July 2016

Continue Reading About exception

SearchNetworking
SearchSecurity
  • man in the browser (MitB)

    Man in the browser (MitB) is a security attack where the perpetrator installs a Trojan horse on the victim's computer that is ...

  • Patch Tuesday

    Patch Tuesday is the unofficial name of Microsoft's monthly scheduled release of security fixes for the Windows operating system ...

  • parameter tampering

    Parameter tampering is a type of web-based cyber attack in which certain parameters in a URL are changed without a user's ...

SearchCIO
  • chief procurement officer (CPO)

    The chief procurement officer, or CPO, leads an organization's procurement department and oversees the acquisitions of goods and ...

  • Lean Six Sigma

    Lean Six Sigma is a data-driven approach to improving efficiency, customer satisfaction and profits.

  • change management

    Change management is a systematic approach to dealing with the transition or transformation of an organization's goals, processes...

SearchHRSoftware
SearchCustomerExperience
  • clickstream data (clickstream analytics)

    Clickstream data and clickstream analytics are the processes involved in collecting, analyzing and reporting aggregate data about...

  • neuromarketing

    Neuromarketing is the study of how people's brains respond to advertising and other brand-related messages by scientifically ...

  • contextual marketing

    Contextual marketing is an online marketing strategy model in which people are served with targeted advertising based on their ...

Close