Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppointStateEnum的状态问题 #24

Open
Hojunwei opened this issue Dec 17, 2017 · 1 comment
Open

AppointStateEnum的状态问题 #24

Hojunwei opened this issue Dec 17, 2017 · 1 comment

Comments

@Hojunwei
Copy link

有了AppointStateEnum是否能够替换掉AppointException、NoNumberException、RepeatAppointException这3个异常呢。这种状态枚举和异常,怎么取舍呢?个人更加倾向枚举。。

@liyifeng1994
Copy link
Owner

如果用了枚举,那你方法的正常返回值如何处理,你说那种有点像Go呀

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

No branches or pull requests

2 participants