Delete unused methods.
RELNOTES: None
@@ -27,7 +27,6 @@ import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.devtools.build.lib.actions.InconsistentFilesystemException;
import com.google.devtools.build.lib.cmdline.Label;
-import com.google.devtools.build.lib.cmdline.LabelSyntaxException;
import com.google.devtools.build.lib.cmdline.PackageIdentifier;
import com.google.devtools.build.lib.concurrent.BlazeInterners;
import com.google.devtools.build.lib.events.Event;
@@ -455,18 +454,6 @@ public class SkylarkImportLookupFunction implements SkyFunction {
super(errorMessage, cause);
}
- private SkylarkImportFailedException(InconsistentFilesystemException e) {
- this(e.getMessage(), e);
- }
-
- private SkylarkImportFailedException(BuildFileNotFoundException e) {
- this(e.getMessage(), e);
- }
-
- private SkylarkImportFailedException(LabelSyntaxException e) {
- this(e.getMessage(), e);
- }
-
static SkylarkImportFailedException errors(PathFragment file) {
return new SkylarkImportFailedException(
String.format("Extension file '%s' has errors", file));
