proguard.evaluation.exception.VariablesGeneralizationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proguard-core Show documentation
Show all versions of proguard-core Show documentation
ProGuardCORE is a free library to read, analyze, modify, and write Java class files.
package proguard.evaluation.exception;
import proguard.evaluation.TracedVariables;
import proguard.exception.ErrorId;
import proguard.exception.ProguardCoreException;
public class VariablesGeneralizationException extends ProguardCoreException {
private final TracedVariables first;
private final TracedVariables second;
public VariablesGeneralizationException(
Throwable cause, TracedVariables first, TracedVariables second) {
super(
ErrorId.VARIABLE_GENERALIZATION,
cause,
"Could not generalize variables %s and %s because: \"%s\".",
first.toString(),
second.toString(),
cause.getMessage());
this.first = first;
this.second = second;
}
public TracedVariables getFirst() {
return first;
}
public TracedVariables getSecond() {
return second;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy