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

Add exception handling for turned off robots at close. #32

Open
Robadob opened this issue Nov 25, 2015 · 0 comments
Open

Add exception handling for turned off robots at close. #32

Robadob opened this issue Nov 25, 2015 · 0 comments

Comments

@Robadob
Copy link
Collaborator

Robadob commented Nov 25, 2015

Add catch for java.rmi.ConnectException which nests java.net.ConnectException to the loops calling m.close() and s.close() in Robot.close()

These are thrown if the robot is turned off when the code tries to shut it down.

Maybe also add this same handling to generic thread managers to tell users robot appears disconnected or similar on connection timeout.

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