Java Reference
In-Depth Information
g) Password has expired
h) Invalid password — not in list
i) Invalid password; no numeric digit
k) Invalid password; greater than
maximum size
j) Invalid password; less than minimum
size
FIGURE 10-1
Program Development
The program development cycle and corresponding tasks for this project are
shown in Table 10-1.
Table 10-1 PasswordException Class Development Tasks
DEVELOPMENT PHASE
TASK(S)
1
Analyze the requirements
Analyze the PasswordException class problem.
2
Design the solution
Design the logic to solve the problem.
3
Validate the design
Confirm with the user that the design solves the problem in a satisfactory
manner.
4
Implement the design
Translate the design into code. Include internal documentation (comments
and remarks) within the code that explains the purpose of the code
statements. Design and code the StockListDemo application used for testing
the PasswordException class and subclasses.
5
Test the solution
Using the StockListDemo test application, test the PasswordException classes.
Find and correct any errors (debug) until they are error-free.
6
Document the solution
Print copies of all source code, including the test program code.
 
Search WWH ::




Custom Search