This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception

 
Jack Lau
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,



I am testing a vendor program like the above program, and do not know why exception is throw before "status 3" and after "status 1".
Do someone know why exception will throw between status 1 and status 3? It is a runtime exception.

Thanks,
Jack
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15284
39
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are we supposed to guess what exception is thrown? Is there any other code besides what you posted here?

Please be as precise as possible when you ask a question. Include the complete code and copy & paste the error message (including stacktrace) into your post. The more precise you are, the quicker and better we can help you to solve the problem.

Right now you're not providing us with enough information and it's impossible to say anything useful about it.
 
Jaime M. Tovar
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe there is more than one thread running. For example a server initiates many services asynchronously so they can get exceptions in places where it seems there is no code to execute
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic