All Downloads are FREE. Search and download functionalities are using the official Maven repository.

proguard.evaluation.exception.VariablesGeneralizationException Maven / Gradle / Ivy

Go to download

ProGuardCORE is a free library to read, analyze, modify, and write Java class files.

There is a newer version: 9.1.6
Show newest version
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