Ask your own question, for FREE!
Computer Science 11 Online
OpenStudy (hyroko):

So, I'm trying to compile my java program, and I have a method which throws Syntax error exceptions. I try to call that method from my main class, and it tells me I have an unsupported exception SyntaxErrorException that needs to be thrown BY the main class.... Which makes no sense. If I have my main class throw the exception, then I lose all my custom exceptions in the method being called.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
8 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
11 hours ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Arizona: does anyone know the percentage rate of 30,000 and 40,000
1 week ago 0 Replies 0 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!