# Time to unlearn. What's this movie quote?

This Java snippet describes a quote from a movie. Can you find the quote?

void function (int number, int attempts) {

{
if (number > 1) {
do {
System.out.println('something');
} while (attempts > ++number);
} else {
System.out.println('something else');
}
} catch (Exception ex) {
}

}

• Where is the try? – me_digvijay Mar 30 '16 at 18:31
• Possible duplicate of puzzling.stackexchange.com/questions/29858/program-rebus-vba – feelinferrety Mar 30 '16 at 18:48
• Sorry, I didn't see that before I posted. The answer is indeed the same, but the riddle itself seems different enough to me. – Matt Mar 30 '16 at 18:56
• I can't really agree about the duplicate. Sure, it's the same answer, but it's a different programming language, a different style, and a completely different method of getting that answer. – Khale_Kitha Mar 30 '16 at 18:56