diff options
Diffstat (limited to 'src/com/android/providers/downloads/StopRequestException.java')
-rw-r--r-- | src/com/android/providers/downloads/StopRequestException.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/providers/downloads/StopRequestException.java b/src/com/android/providers/downloads/StopRequestException.java index a2b642d8..07bd6284 100644 --- a/src/com/android/providers/downloads/StopRequestException.java +++ b/src/com/android/providers/downloads/StopRequestException.java @@ -34,13 +34,13 @@ class StopRequestException extends Exception { } public StopRequestException(int finalStatus, Throwable t) { - super(t); - mFinalStatus = finalStatus; + this(finalStatus, t.getMessage()); + initCause(t); } public StopRequestException(int finalStatus, String message, Throwable t) { - super(message, t); - mFinalStatus = finalStatus; + this(finalStatus, message); + initCause(t); } public int getFinalStatus() { |