예외가 발생했을 때 IllegalArgumentException VS 커스텀 예외 #13
Unanswered
reddevilmidzy
asked this question in
Q&A
Replies: 2 comments
-
|
기본적으로 Java에서 제공해주는 API로 표현할 수 있는 예외라면 해당 API를 씁니다.
이외 추가적인 분류라던가, 추가적인 작업이 필요하다면 커스텀 예외를 사용합니다. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
제가 커스텀 예외를 사용한 이유에 대해 작성해보았습니다 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
체스 미션 같은 경우 예외가 발생할 수 있는 경우가 많았는데 어떤 방식으로 처리해주고, 또 어떤 방식으로 테스트했는지 궁금합니다!
Beta Was this translation helpful? Give feedback.
All reactions