/*$Id: DownloadConstants.java,v 1.2 2011/09/03 07:24:51 mathankarthik.r Exp $*/

package com.adventnet.sym.server.downloadmgr;

/**
 *
 * @author rajeshr
 */
public class DownloadConstants {
    public static final int SUCCESS = 0;
    public static final int ERROR_INVALID_SOURCE_URL = 10001;
    public static final int ERROR_NOTFOUND_SOURCE_URL = 10002;
    public static final int ERROR_RESTRICT_BINARY_URL = 10003;
    public static final int ERROR_NOTFOUND_DESTINATION_FILE = 10004;
    public static final int ERROR_DATA_NOTAVAILABLE = 10005;
    public static final int ERROR_STREAM_CLOSE = 10006;
    public static final int ERROR_RESPONSE_RECEIVED_EMPTY = 10007;
    public static final int ERROR_DOWNLOAD_FAILED = 10008;
    public static final int ERROR_CHECKSUM_FAILED = 10009;
    // Any more errors.. Include here..
    public static final int IN_PROGRESS = 20000;
}

