Order Now

Computer Science: Java program assignment.

Computer Science: Java program assignment.

Update your Social Network program so it can handle missing or bad data in the input files.

You’ll need to catch exceptions that could be thrown if e.g. a file is missing or a data format is bad.

You’ll probably also need to throw exceptions if e.g. a piece of data is missing or wrong.

Situations you might want to consider include:

1. Users file (people.txt) is missing

2. Relationships file (relationships.txt) is missing

3. There are not enough pieces of data for a user.

4. There are not enough pieces of data for a relationship.

5. A piece of data is the wrong format (e.g. a birthday is “potato” or a number is “potato”.)

6. A name in the relationships.txt file is of a person who doesn’t exist.

Computer Science: Java program assignment.

 

 

 

Order Now

Calculate Your Order Price


Price (USD)
$