If I call methods in other classes and they call methods in still more classes and then something throws an exception, my code will not execute successfully. That's not good. But having an exception raised will at least help me to understand what's going wrong. 1/?
-
-
It's like Home Alone. All you know is that you're in Paris and Kevin isn't. Where is the problem? Where is Kevin? That's easy. Probably somewhere between home and Paris. When did you lose him? Probably some time in the last 12 hours. 5/?
Prikaži ovu nit -
If something in a method throws an exception, don't log and continue unless you have a good, specific reason. Throw something. Return something. Let the caller decide whether it's important. Pretending the exception didn't happen doesn't make it go away. 6/6
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.