Skip to content

Commit 91b2e1e

Browse files
committed
Feat fix to "Order"
1 parent 7016d66 commit 91b2e1e

File tree

1 file changed

+1
-1
lines changed
  • lesson_14/exceptions/exceptions_app/src/main/java/com/codedifferently/lesson14/ecommerce

1 file changed

+1
-1
lines changed

lesson_14/exceptions/exceptions_app/src/main/java/com/codedifferently/lesson14/ecommerce/EcommerceSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void cancelOrder(String orderId) throws OrderNotFoundException {
3939

4040
public String checkOrderStatus(String orderId) throws OrderNotFoundException {
4141
Order order = orders.get(orderId);
42-
if (order == null) throw new OrderNotFoundException("order with ID 1 not found");
42+
if (order == null) throw new OrderNotFoundException("Order with ID 1 not found");
4343
return "Order ID: "
4444
+ orderId
4545
+ ", Product: "

0 commit comments

Comments
 (0)