Search:

Type: Posts; User: The_Mexican

Search: Search took 0.06 seconds.

  1. Replies
    9
    Views
    2,044

    Re: Problem with throwing an exception...

    Yes I see now, thanks to both of you. What I had to do is simply move the statement into the next method then surround pretty much the entire program in a try/catch block. There is probably another...
  2. Replies
    9
    Views
    2,044

    Re: Problem with throwing an exception...

    I can't do that, this is what it's like:


    public class GameClient2 extends JPanel implements ActionListener {
    public GameClient2() throws Exception{ //Line 60
    URL myurl =...
  3. Replies
    9
    Views
    2,044

    Re: Problem with throwing an exception...

    I'm not sure what you mean by the "big" class, but I think I must be doing that. However, there's no other way I can do it since I need this to be visible to places later in the program.
  4. Replies
    9
    Views
    2,044

    Problem with throwing an exception...

    Hi, I'm having a problem where I get an error at a throws declaration.

    This is the error:


    Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
    at...
Results 1 to 4 of 4