What is an exception?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is an exception?

Rating:

An exception is an abnormal event that occurs during the execution of a program. It describes an error occurred at runtime. This error disrupts the normal flow of instructions in the program.

In Java, exceptions are represented using objects. When an exceptional condition arises within a method, an exception object is created and thrown in the method. The exception object contains information about the exception. This information includes the exception type and the state of the program when the error occurred. Exceptions can be generated by the Java runtime system, or they can be generated manually by a code.


Rating:



Other articles

Click here to Article home

MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD, SCJA, SCBCD, SCMAD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.
 
HACKER SAFE certified sites prevent over 99.9% of hacker crime.