• Post Reply Bookmark Topic Watch Topic
  • New Topic

timeout! java  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does timeout! mean in a java code. I submitted some code and it said timeout! for some of my methods. Thanks for help
 
Bartender
Posts: 1558
5
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeremy Ng wrote:What does timeout! mean in a java code. I submitted some code and it said timeout! for some of my methods. Thanks for help

Welcome to CodeRanch!

To my knowledge, there are several meanings to timeout - depending on context.

It may be related to concurrent programming, database programming, or your own customized timeout.

It is difficult to answer your question without understanding what exact message/error/exception you are having, and what code you are dealing with.

Thanks.
 
Jeremy Ng
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


This code might seem very foreign and Id be glad to explain what each method does.. but for some reason it timed out ahah
 
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeremy Ng wrote:This code might seem very foreign and Id be glad to explain what each method does.. but for some reason it timed out ahah


There's nothing in there that suggests any kind of timeout in any way. There is no concept timeout in the Java language. There is in some methods in the core API, but I don't see you calling any of them here.

Furthermore the simple "timeout!" you mentioned in your first post wouldn't come from anything in the core API. It must be from some library you're using, or from some framework in which you're running your code. Without more context, it's impossible to say.

On an unrelated note:


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!