How to declare an IOException in PacketHandler

Results 1 to 1 of 1
  1. #1
    Proficient Member stability666 is offline
    MemberRank
    Jan 2009 Join Date
    Maine, USA.Location
    165Posts

    How to declare an IOException in PacketHandler

    Yeah, I don't know how to declare this, so... Help? Please? Lol.

    About the PacketHandler thing, that's just in my source(317).

    Code:
    public static int avail = in.available();
    Needs to be declared somehow.

    I've already tried this:

    Code:
    public static int avail = in.available() throw IOException;


    PLEASE, the future of my server kind of depends on this, and that bug, someone needs to help me with. LOL.

    ~Stability666
    Last edited by stability666; 09-08-09 at 04:11 PM.




Advertisement