Package freenet.client

Examples of freenet.client.FetchException


  public FetchException recreateFetchException(FetchException e, String mime) {
    return new FetchException(getFetchErrorCode(), e.expectedSize, this, mime);
  }
 
  public FetchException createFetchException(String mime, long expectedSize) {
    return new FetchException(getFetchErrorCode(), expectedSize, this, mime);
  }
View Full Code Here


                ret.setSuccessForMigration(context, completionTime, data);
            } else if(this.getFailedMessage != null) {
                ret.onFailure(getFailedMessage.getFetchException(), null);
            } else if(this.postFetchProtocolErrorMessage != null) {
                tempFile.delete();
                ret.onFailure(new FetchException(FetchExceptionMode.BUCKET_ERROR, "Failed to rename before migration. We have deleted the file."), null);
            }
        }
        return ret;
    }
View Full Code Here

TOP

Related Classes of freenet.client.FetchException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.