itu-bswu / RentIt

Digital media rental service (academic project)
4 stars 0 forks source link

Signup fails if username is in use #18

Open NiklasHansen opened 12 years ago

NiklasHansen commented 12 years ago

The signup feature was made when our error handling was based on exceptions. When changing to boolean return values, we didn't make a pre-condition check to see whether or not the username already is in use. This means that the signup will throw an UsernameInUseException (FaultException through the service layer), and not return false.