System
|
Exceptions
|
Sales Order
|
•
Server unavailable |
•
Timeout on sales confirmation |
|
•
Invalid sales order request field (price, quantity, etc.) |
|
Purchase Order
|
•
Server unavailable |
•
Timeout on purchase confirmation |
|
•
Invalid purchase order request field (price, quantity,
etc.) |
|
User
|
•
Server unavailable |
•
Invalid username or password |
|
•
Attempt to add an existing user |
|
•
Attempt to add a user with invalid parameters (i.e.
username or password too long) |
|
•
Attempt to remove, update, or query a non-existent user
profile |
|
Inventory
|
•
Server unavailable |
•
Query or modification attempt on a non-existent item |
|
•
Item out of stock |
|
•
Request exceeds maximum item quantity allowed |
|
•
Request exceeds maximum item price allowed |
|
•
Attempt to add item failed due to full inventory |
|
•
Attempt to add item with incomplete information |