|
|
Java error classes In Java, the word error usually denotes a system error . That is, a problem arising from hardware or from a logical error in the Java system itself. A typical example of a system error is not having enough memory to complete a method. Like run-time exceptions, the program does not have to handle errors. Indeed, Java standards recommend that the program does not handle these exceptions. The reason for this is that if the computer or the program is in a state where such an error occurs, it is probably impossible for the program to do anything useful. For example, if the program runs out of memory, then it wont be able to do anything to correct this situation because it wont have enough memory to carry out whatever corrections are required. In Java, errors are subclasses of the Error class. Back to top 
RITSEC - Global Campus Copyright ?1999 RITSEC- Middlesex University. All rights reserved. webmaster@globalcampus.com.eg |
|