View Full Version : [508] HELP! 2 Errors! don't understand why!?
mythzscape562
July 3rd, 2010, 10:46
Well here they are:
Only the registered members can see the link.
I added the Try at the first error pic ... without there were 8 errors and they were all about
} catch (Exception error) {
error.printStackTrace();
HELP ME PLZ!
It's codeusa base - 508
Emperor
July 3rd, 2010, 12:32
when adding a try { you have to add in a catch aswel, Example:
public void randomMethod() {
try {
randomOperation();
} catch (Exception e) {
e.printStackTrace()
}
}
You can't have a try without a catch, same backwards.
mythzscape562
July 3rd, 2010, 14:12
Thats why I added try ... cuz a error said - can't have catch without try ... or something like that ...
i add try .. and 6 errors fixed ... i kinda fail at java =P
EDIT:
WTF?? now got 89 errors ... i tried that code of urs ... then did it back ... now 89 errors ... wtf? i copied from the original ... meh ima create commands again ...
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.