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

Runtime Exception #63

Closed
shaonanxu opened this issue Jul 9, 2012 · 1 comment
Closed

Runtime Exception #63

shaonanxu opened this issue Jul 9, 2012 · 1 comment

Comments

@shaonanxu
Copy link

Hi
I just want to ask why all of exceptions are RuntimeException?
Thanks

@alphazero
Copy link
Owner

Hi shaonanxu,

Not all:
https://github.com/alphazero/jredis/blob/master/core/api/src/main/java/org/jredis/RedisException.java

System errors e.g. lack of network connectivity; implementation errors
e.g. unimplemented or what must be a bug; these are treated as
RuntimeExceptions. (Does it make sense to spec a checked exception as
part of the signature of a long standing API?)

Please let me know if this is not clear and will clarify.

/R

On Sun, 8 Jul 2012 20:37:09 -0700, shaonanxu wrote:

Hi
I just want to ask why all of exceptions are RuntimeException?
Thanks


Reply to this email directly or view it on GitHub:
#63

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