Searched refs:StopRequestException (Results 1 – 2 of 2) sorted by relevance
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 209 public void writeToDatabaseOrThrow() throws StopRequestException { in writeToDatabaseOrThrow() 213 throw new StopRequestException(STATUS_PAUSED_BY_APP, "Download paused!"); in writeToDatabaseOrThrow() 215 throw new StopRequestException(STATUS_CANCELED, "Download deleted or missing!"); in writeToDatabaseOrThrow() 293 throw new StopRequestException(STATUS_WAITING_FOR_NETWORK, in run() 320 } catch (StopRequestException e) { in run() 408 private void executeDownload() throws StopRequestException { in executeDownload() 416 throw new StopRequestException(STATUS_BAD_REQUEST, e); in executeDownload() 426 throw new StopRequestException(STATUS_UNKNOWN_ERROR, "Unable to create SSLContext."); in executeDownload() 433 throw new StopRequestException(STATUS_BAD_REQUEST, in executeDownload() 461 throw new StopRequestException( in executeDownload() [all …]
|
D | StopRequestException.java | 28 class StopRequestException extends Exception { class 31 public StopRequestException(int finalStatus, String message) { in StopRequestException() method in StopRequestException 36 public StopRequestException(int finalStatus, Throwable t) { in StopRequestException() method in StopRequestException 41 public StopRequestException(int finalStatus, String message, Throwable t) { in StopRequestException() method in StopRequestException 50 public static StopRequestException throwUnhandledHttpError(int code, String message) in throwUnhandledHttpError() 51 throws StopRequestException { in throwUnhandledHttpError() 54 throw new StopRequestException(code, error); in throwUnhandledHttpError() 56 throw new StopRequestException(STATUS_UNHANDLED_REDIRECT, error); in throwUnhandledHttpError() 58 throw new StopRequestException(STATUS_UNHANDLED_HTTP_CODE, error); in throwUnhandledHttpError()
|