Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d49095d1 authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski
Browse files

Fix error formatting for copy/move/delete failures.

This caused major failures in the job operations, including
failing tests.

Change-Id: I697f1481df39a156f7ebfde08b31af6b23380f17
parent 0d47cd29
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -24,11 +24,11 @@ public class ResourceException extends Exception {
    }

    public ResourceException(String message, Uri uri1, Exception e) {
        super(message.format(uri1.toString()), e);
        super(String.format(message, uri1.toString()), e);
    }

    public ResourceException(String message, Uri uri1, Uri uri2, Exception e) {
        super(message.format(uri1.toString(), uri2.toString()), e);
        super(String.format(message, uri1.toString(), uri2.toString()), e);
    }

    public ResourceException(String message) {
@@ -36,7 +36,7 @@ public class ResourceException extends Exception {
    }

    public ResourceException(String message, Uri uri1) {
        super(message.format(uri1.toString()));
        super(String.format(message, uri1.toString()));
    }

    public ResourceException(String message, Uri uri1, Uri uri2) {