com.ideaaedi.component.compile.DynamicCompilerException Maven / Gradle / Ivy
package com.ideaaedi.component.compile;
import javax.tools.Diagnostic;
import javax.tools.JavaFileObject;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
/**
* 动态编译异常
*
* @author Arthas
* @since 2021/9/20 18:11:56
*/
@SuppressWarnings("all")
public class DynamicCompilerException extends RuntimeException {
private static final long serialVersionUID = 1L;
private List> diagnostics;
public DynamicCompilerException(String message, List> diagnostics) {
super(message);
this.diagnostics = diagnostics;
}
public DynamicCompilerException(Throwable cause, List> diagnostics) {
super(cause);
this.diagnostics = diagnostics;
}
private List