Skip to content

[로또] 이하늘 미션 제출합니다. - #1339

Open
hani-i wants to merge 11 commits into
woowacourse-precourse:mainfrom
hani-i:hani-i
Open

[로또] 이하늘 미션 제출합니다.#1339
hani-i wants to merge 11 commits into
woowacourse-precourse:mainfrom
hani-i:hani-i

Conversation

@hani-i

@hani-i hani-i commented Nov 4, 2024

Copy link
Copy Markdown

No description provided.

throw new IllegalArgumentException("[ERROR] 로또 번호는 6개여야 합니다.");
}
if (new HashSet<>(numbers).size() != numbers.size()) {
throw new IllegalArgumentException("[ERROR] 로또 번호에 중복된 숫자가 있습니다.");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

에러 메시지는 error 패키지에서 따로 관리하면 더 좋을 것 같습니다.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 그러네요!! 감사합니다😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants