| < Day Day Up > |
|
Eclipse, 373
Elevator simulation, 87–89
Employee Class program, 342–344, 348
Employee Modeling program, 348–351
Encapsulation, 317, 325, 329–330
aggregated objects, 338–340
associated objects, 339
final classes, 376
Ensembles, 68, 410
Enterprise Java Beans (EJB), 14, 129
EOFException, 171
Equals function, 140
Equals Method in Class Person program, 126
Error handling, 153–179
ArithmeticException, 163
casting errors, 102–105
checked and unchecked exceptions, 167–169
cohesion and coupling, 330–331
C programming, 159–161
design issues, 153
exception hierarchy, 169–172
exception propagation, 165–167
finally blocks, 167
further reading, 175–176
implementing exceptions, 172–175
incorrect approaches, 154–155
"handle it when it occurs," 155–159
method return values, 159–161
instanceof operator, 103
micromanaging, 161
multiple method calls and try blocks, 165
probability analysis, 236–237
runtime data type tags, 102–105
SortedPrintTable, 156–159
stack trace, 161, 163–165
try-catch blocks, 161–165
Errors (Java exception class), 170
Event, definition of, 410
Event listener objects, 211
Event Multicaster, 222–227
Event source object, 211
Event state object, 211
Exception blocks, 161
Exceptions, 153, 170–171, See also Error handling
checked or unchecked, 167–169, 171–172, 409, 412
cohesion and coupling, 330–331
finally blocks, 167, 168
further reading, 175–176
hierarchy, 169–172
inner classes, 377
propagation, 165–167, 412
RMI server class, 392
unwinding the stack, 166
writing and implementing, 172–173
advertising, 174
throwing, 174–177
writing the class, 173–174
Expression trees, 145–148
definition, 410
program, 147–148, 354
Extends clause, 141, 316, 341, 344
Extreme programming, 305, 332
| < Day Day Up > |
|