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

circumvent cascading exceptions #25

Open
CardboardBread opened this issue Oct 4, 2018 · 0 comments
Open

circumvent cascading exceptions #25

CardboardBread opened this issue Oct 4, 2018 · 0 comments
Assignees

Comments

@CardboardBread
Copy link
Collaborator

when something like establish() is invoked and throws an exception, that exception is caught by keyCheck() and thrown from there into run() where it's finally displayed

since keyCheck can invoke four different methods with a host of exceptions (all which extend IOException) the intent of the exception beyond the stacktrace is lost.
especially since keyCheck() works independently of server/client architecture, the context behind what system is throwing an exception is also lost.

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

No branches or pull requests

1 participant