aspose 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


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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: 5846
    
    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
 
jQuery in Action, 2nd edition
 
subject: ERROR :not a known variable in the current context