FanTangoServer |
Method |
Requirement(s) |
Description |
GetShowingMovies ( ) |
1 |
Called when client wishes to list all movies shown in a theater. |
GetMovieShowtimes ( ) |
1 |
Called when client wishes to see showing times for a specific movie. |
AreSeatsAvailable ( ) |
1,2 |
Called when client wishes to check availability of seating for a specific showing. |
CreateProfile ( ) |
3, 5 |
Called by client to create a customer profile in order to be able to buy tickets. |
Login ( ) |
3 |
A client has to login in order to buy tickets. |
PlaceOrder ( ) |
2,5 |
Called when client wishes to purchase a ticket to reserve seating. The server will update database accordingly. |
CancelOrder ( ) |
6 |
Called when client wishes to cancel an in-process or completed order. |
VerifyCustomer ( ) |
4 |
Called when server wishes to verify customer information with DB and Credit Card server. |
|
Exception |
Type |
Description |
NoSeatAvailable ( ) |
App |
Thrown when no seats are available for a movie showing. |
BadCreditCard ( ) |
App |
Thrown when credit card server could not authorize the transfer. |
DuplicateRequests ( ) |
App |
Thrown when customer makes duplicate requests (e.g: double clicking a web button). |
CorruptRequest ( ) |
App |
Thrown when a request has corrupted data. |
InvalidRequest ( ) |
App |
Thrown when incomplete request is made. |
InvalidLogin ( ) |
App |
Thrown when server fails to authenticate a customer. |
CancellationError ( ) |
App |
Thrown when cancellation could not be performed (e.g canceling twice). |
ApplicationServerDown ( ) |
Sys |
Thrown when application server could not be reached. |
CreditCardServerDown ( ) |
Sys |
Thrown when credit card server could not be reached. |
DatabaseDown ( ) |
Sys |
Thrown when database server could not be reached. |
NetworkProblem ( ) |
Sys |
Thrown when any other type of network error occurs. |