• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Syntax error, insert "AssignmentOperator ArrayInitializer" to complete Expression

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi i am getting the following error
Syntax error, insert "AssignmentOperator ArrayInitializer" to complete Expression
for (example)
ZipFile getZipFile(String target)
{
return new ZipFile(target);
Exception x;
x;
throw new RuntimeException("Can't read ZipFile at " + target, x);
}
-prabhu
 
Marshal
Posts: 79180
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are various websites with lists of error messages on. Here's one. Try it. If you don't get any luck, come back and ask again.

BTW: The apparent error handling in the code snippet you posted won't work. Is that the source of your error?

CR
 
reply
    Bookmark Topic Watch Topic
  • New Topic