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$
2
  • $\begingroup$ Oops, I answered without realizing this was a movie title $\endgroup$ Mar 29, 2016 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$ Mar 29, 2016 at 15:18

2 Answers 2

17
$\begingroup$

Could it be

Catch Me If You Can?

$\endgroup$
1
  • 7
    $\begingroup$ Exception variable should be renamed, imo. :) $\endgroup$ Mar 29, 2016 at 15:11
1
$\begingroup$

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

$\endgroup$
2
  • 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$
    – user20
    Mar 29, 2016 at 18:59
  • 1
    $\begingroup$ *FirstTimeGuesser, this is not a movie title, please try again :-) $\endgroup$
    – ABcDexter
    Mar 29, 2016 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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