Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Kirk2707yAs an absolute noob in Java... What did go wrong there? I sometimes see this on the Reddit app and it makes me curious.
-
sigfried5327y@Kirk from what I guess (not a java dev) the code took too long to exectute. Or the GET request timed out.
-
@Kirk as a Java dev: The first part says that an error has been thrown by a thread while executing, the second part says that a timeout has occured in volley, quick google search says that volley is a networking library so in conclusion: the connection has timed out :)
-
It is a (unwritten - maybe... maybe it is in the official docs) rule to name everything descriptively in Java so you know what eveything does. Usually I don't mind naming something like this: IConcurrentDatabaseAdapter because the IDE will autocomplete it (btw the "I" at the beginning tells me it is an interface - basically a template for classes)
-
@sigfried java code is not terminated when it takes too long, unless you absolutely need the thread to exit you just wait for it... otherwise you kill it and that would be a different error... something like ThreadDeath
Related Rants
Of course the common people gonna understand what went wrong!!
joke/meme
sed_lyf
java
reddit
exception