Temporaly add public CompilationFailedException constructor

Bug: b/275710239
Bug: b/275715936
Change-Id: I82518718853c2007918071b193973af2aca44a66
diff --git a/src/main/java/com/android/tools/r8/CompilationFailedException.java b/src/main/java/com/android/tools/r8/CompilationFailedException.java
index 94c7fde..d618dff 100644
--- a/src/main/java/com/android/tools/r8/CompilationFailedException.java
+++ b/src/main/java/com/android/tools/r8/CompilationFailedException.java
@@ -17,6 +17,12 @@
     this.cancelled = cancelled;
   }
 
+  // TODO(b/275715936): Remove this again.
+  public CompilationFailedException(String message) {
+    super(message);
+    cancelled = false;
+  }
+
   /** True if the compilation was cancelled by {@link CancelCompilationChecker} otherwise false. */
   public boolean wasCancelled() {
     return cancelled;