Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   What do you do with CANTimeoutException? (http://www.chiefdelphi.com/forums/showthread.php?t=90244)

Geek 2.0 27-01-2011 11:29

What do you do with CANTimeoutException?
 
Before I start getting overly-basic answers, I know how to use try-catches and such, so it's not that I don't know how to use it, but I'm just curious what you do.

What do you all do with CANTimeoutException? It would seem that you can basically ignore it, because if the Jaguars aren't responding, then there's nothing you can do anyway. I guess you probably should print a message saying something went wrong, but would you just use a printStackTrace()? Netbeans doesn't really like it when you do that (the annoying yellow-squiggly-underlined text thing happens). Is there something that FIRST requires you to do with it?

drakesword 27-01-2011 12:05

Re: What do you do with CANTimeoutException?
 
In our Specification:

If a timeout occurs for a mechanism retry 5 times. If it still does not succeed disable output to that mechanism. Finally send an error and debugging information back to the developer.

Geek 2.0 27-01-2011 13:52

Re: What do you do with CANTimeoutException?
 
Quote:

Originally Posted by drakesword (Post 1009694)
In our Specification:

If a timeout occurs for a mechanism retry 5 times. If it still does not succeed disable output to that mechanism. Finally send an error and debugging information back to the developer.

Ooo, I like that. I think we'll put a "Danger Will Robinson!" light on the dash too.


All times are GMT -5. The time now is 22:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi