Skip to content

Commit b71a6e4

Browse files
committed
refactor: enter Exception 출력문구 변경
1 parent 09cbf8e commit b71a6e4

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/nhnacademy/leejungbum/mart2/mart

1 file changed

+1
-1
lines changed

src/main/java/org/nhnacademy/leejungbum/mart2/mart/Store.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void enter() throws InterruptedException {
2424
semaphore.acquire();
2525
System.out.println(Thread.currentThread().getName() + " 입장");
2626
} catch (InterruptedException e) {
27-
throw e;
27+
System.out.println("입장중 오류가 발생하였습니다");
2828
}
2929
}
3030

0 commit comments

Comments
 (0)