프로그래밍/Android

[Android]onReceivedError 의 errorCode 정리

프리월드 2012. 8. 9. 18:52

public static final int ERROR_UNKNOWN = -1;
: Generic error 
 
public static final int ERROR_HOST_LOOKUP = -2;
: Server or proxy hostname lookup failed
 
public static final int ERROR_UNSUPPORTED_AUTH_SCHEME = -3;
: Unsupported authentication scheme (not basic or digest)
 
public static final int ERROR_AUTHENTICATION = -4;
: User authentication failed on server
 
public static final int ERROR_PROXY_AUTHENTICATION = -5;
: User authentication failed on proxy
 
public static final int ERROR_ConNECT = -6;
: Failed to connect to the server
 
public static final int ERROR_IO = -7;
: Failed to read or write to the server
 
public static final int ERROR_TIMEOUT = -8;
: Connection timed out
 
public static final int ERROR_REDIRECT_LOOP = -9;
: Too many redirects 
 
public static final int ERROR_UNSUPPORTED_SCHEME = -10;
: Unsupported URI scheme
 
public static final int ERROR_FAILED_SSL_HANDSHAKE = -11;
: Failed to perform SSL handshake
 
public static final int ERROR_BAD_URL = -12;
: Malformed URL
 
public static final int ERROR_FILE = -13;
: Generic file error
 
public static final int ERROR_FILE_NOT_FOUND = -14;
: File not found
 
public static final int ERROR_TOO_MANY_REQUESTS = -15;
: Too many requests during this load