Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
desislavaa authored Oct 26, 2024
1 parent 03ab29e commit bbf0c5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 03-oop-in-java-ii/lab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ public class RentalService {
* additional tax for the driver, if it is applicable
* @param vehicle the rented vehicle
* @param endOfRent the end time of the rental
* @return
* @return price for the rental
* @throws IllegalArgumentException in case @endOfRent or @vehicle is null
* @throws VehicleNotRentedException in case the vehicle is not rented at all
* @throws InvalidRentingPeriodException in case the endOfRent is before the start of rental, or the vehicle
* does not allow the passed period for rental, e.g. Caravans must be rented for at least a day.
*/
Expand Down

0 comments on commit bbf0c5d

Please sign in to comment.