Go to Post We make ourselves better by lifting others and standing on their shoulders, not by knocking them down. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2011, 11:29
Geek 2.0 Geek 2.0 is offline
Registered User
FRC #0107
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2008
Location: Holland, MI
Posts: 120
Geek 2.0 will become famous soon enough
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2011, 12:05
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2011, 13:52
Geek 2.0 Geek 2.0 is offline
Registered User
FRC #0107
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2008
Location: Holland, MI
Posts: 120
Geek 2.0 will become famous soon enough
Re: What do you do with CANTimeoutException?

Quote:
Originally Posted by drakesword View Post
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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