| // Copyright (c) 2023, the R8 project authors. Please see the AUTHORS file | |
| // for details. All rights reserved. Use of this source code is governed by a | |
| // BSD-style license that can be found in the LICENSE file. | |
| package com.android.tools.r8.retrace; | |
| import com.android.tools.r8.keepanno.annotations.KeepForApi; | |
| import java.util.List; | |
| @KeepForApi | |
| public class RetracePartitionException extends RuntimeException { | |
| public RetracePartitionException(String message) { | |
| super(message); | |
| } | |
| public RetracePartitionException(String message, List<String> auxInfo) { | |
| super(message + "\n\n" + String.join("\n", auxInfo)); | |
| } | |
| public RetracePartitionException(String message, List<String> auxInfo1, List<String> auxInfo2) { | |
| super(message + "\n\n" + String.join("\n", auxInfo1) + "\n\n" + String.join("\n", auxInfo2)); | |
| } | |
| public RetracePartitionException(Exception e) { | |
| super(e); | |
| } | |
| public RetracePartitionException(String message, Throwable cause) { | |
| super(message, cause); | |
| } | |
| } |