Skip to content

Commit e20e40d

Browse files
ccrvincentscordio
authored andcommitted
Add Class info to failure exception (#3746)
1 parent 79b87f0 commit e20e40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: assertj-core/src/main/java/org/assertj/core/api/ClassLoadingStrategyFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static ClassLoadingStrategyPair classLoadingStrategy(Class<?> assertClass) {
6565
throw new IllegalStateException("Could not access package of " + assertClass, e);
6666
}
6767
} else {
68-
throw new IllegalStateException("No code generation strategy available");
68+
throw new IllegalStateException("No code generation strategy available for " + assertClass);
6969
}
7070
}
7171

0 commit comments

Comments
 (0)