Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Java compiler error message

0 views
Skip to first unread message

Jude Regy

unread,
Nov 16, 2002, 4:07:34 AM11/16/02
to
Hello There,

I am having a very annoying compiler error message:

XMLAgent.java:62: illegal start of type
} catch (SQLException e) {
^
XMLAgent.java:64: <identifier> expected
} finally { };

XMLAgent is the file I am trying to compile. I am new to Java and have to
submit my assignment by monday.

I would really applreciate any guidance on what is causing this problem.

Thanks,
Jude


David Risner

unread,
Nov 16, 2002, 12:35:24 PM11/16/02
to
"Jude Regy" <jr...@rogers.com> wrote in news:qVnB9.104708$MGm1.84250
@news02.bloor.is.net.cable.rogers.com:

> Hello There,
>
> I am having a very annoying compiler error message:
>
> XMLAgent.java:62: illegal start of type
> } catch (SQLException e) {
> ^
> XMLAgent.java:64: <identifier> expected
> } finally { };
>
> XMLAgent is the file I am trying to compile. I am new to Java and have to
> submit my assignment by monday.

It looks like you probably have an extra closing brace ('}') before this
section.

--
David G. Risner
Software Engineer, California State University, Los Angeles
http://www.risner.org/david/

0 new messages