non-static variable cannot be referenced...etc.

  • (2 Pages)
  • +
  • 1
  • 2

16 Replies - 1904 Views - Last Post: 04 June 2012 - 12:00 PM Rate Topic: -----

#16 justin_k   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 28
  • Joined: 28-May 12

Re: non-static variable cannot be referenced...etc.

Posted 04 June 2012 - 09:52 AM

Ok, but even with that, withdraw is supposed to throw the exception correct?
Was This Post Helpful? 0
  • +
  • -

#17 pbl   User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8381
  • View blog
  • Posts: 31,956
  • Joined: 06-March 08

Re: non-static variable cannot be referenced...etc.

Posted 04 June 2012 - 12:00 PM

withdraw throws it and main() catch it. So main() is not declared as throwing Exception

or main() or withdraw() throws it and main() does not catch it and it is declared as throwing Exception
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2