diff --git a/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java b/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java index 20fe9e1c9..c0ca6d8aa 100644 --- a/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java +++ b/internal/zinc-classfile/src/main/java/sbt/internal/inc/zip/ZipCentralDir.java @@ -302,8 +302,8 @@ public int hashCode() { IndexNode child; // 1st child } - private static void zerror(String msg) { - throw new ZipError(msg); + private static void zerror(String msg) throws ZipException { + throw new ZipException(msg); } private void buildNodeTree() {