12
$\begingroup$
public class Program {
    static boolean can;
    public static void main(String[] args) {
        can = true;
        if (can) {
            try {
                doSomething();
            } catch (Exception e) {}
        } else {
            doSomething();
        }
    }
    static void doSomething() throws Exception {}
}

What movie title is this referencing?

$\endgroup$
  • $\begingroup$ Oops, I answered without realizing this was a movie title $\endgroup$ – question_asker Mar 29 '16 at 14:58
  • 1
    $\begingroup$ I almost went with another (incorrect answer) but that could for a nice rebus in this style aswell... I may post it later, if I can figure out suitable syntax without making it a dead giveaway. $\endgroup$ – Tim Couwelier Mar 29 '16 at 15:18
17
$\begingroup$

Could it be

Catch Me If You Can?

$\endgroup$
  • 7
    $\begingroup$ Exception variable should be renamed, imo. :) $\endgroup$ – Ian MacDonald Mar 29 '16 at 15:11
1
$\begingroup$

If at first you don't succeed, try, try again.

$\endgroup$
  • 2
    $\begingroup$ Would it be possible for you to edit this answer to explain how you reached this conclusion given the information in the question? $\endgroup$ – Aza Mar 29 '16 at 18:59
  • 1
    $\begingroup$ *FirstTimeGuesser, this is not a movie title, please try again :-) $\endgroup$ – ABcDexter Mar 29 '16 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.