Skip to content

Commit

Permalink
Add IO exception to signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Sep 24, 2024
1 parent 8ab84e8 commit d3a15cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions byte-buddy-dep/src/main/java/net/bytebuddy/build/Plugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -2409,7 +2409,7 @@ public Manifest getManifest() throws IOException {
/**
* {@inheritDoc}
*/
public ClassFileLocator getClassFileLocator() {
public ClassFileLocator getClassFileLocator() throws IOException {
return delegate.getClassFileLocator();
}

Expand Down Expand Up @@ -2821,7 +2821,7 @@ public Manifest getManifest() throws IOException {
/**
* {@inheritDoc}
*/
public ClassFileLocator getClassFileLocator() {
public ClassFileLocator getClassFileLocator() throws IOException {
List<ClassFileLocator> classFileLocators = new ArrayList<ClassFileLocator>(origins.size());
for (Source.Origin origin : origins) {
classFileLocators.add(origin.getClassFileLocator());
Expand Down

0 comments on commit d3a15cb

Please sign in to comment.