Public feed #726893

Zeug

public text v1 · immutable
Raw Edit
·published 2007-10-05 16:06 UTC
rendered paste body
    [javac] C:\site\drftpd-2.0.5\src\net\drmods\plugins\irc\WipeIncomplete.java:
109: unreported exception org.drftpd.remotefile.FileStillTransferringException;
must be caught or declared to be thrown
    [javac]         SFVFile sfv = file.lookupSFVFile();
    [javac]                                         ^


wipeincomplete.java:
import java.io.FileInputStream;
import java.io.IOException;
import java.io.FileNotFoundException;
import java.util.*;
import org.drftpd.remotefile.FileStillTransferringException;


line 108:

      try {
        SFVFile sfv = file.lookupSFVFile();
        if (sfv != null && !sfv.getStatus().isFinished())
          incompleteSfv.put(sfv, file);

      } catch (FileNotFoundException e) {
        //no sfv, ignore that
      } catch (IOException e) {
        e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
      } catch (NoAvailableSlaveException e) {
        e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
      }