File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes ERROR :not a known variable in the current context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "ERROR :not a known variable in the current context" Watch "ERROR :not a known variable in the current context" New topic
Author

ERROR :not a known variable in the current context

Noopur Kore
Ranch Hand

Joined: Aug 18, 2012
Posts: 77

I'm getting error while debbuging on my catch(Exception e)

on e it says "e = >"e" is not a known variable in the current context.<" .

Can someone explain me this?
No other error on servlet.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Could you post more of the code, perhaps the whole method? Also, exactly which line are you getting the error on? I suspect that 'e' is out of scope where it is being used, or perhaps you have 'e' declared twice, but without seeing more of the code it is hard to tell.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ERROR :not a known variable in the current context