-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25844 from gwenneg/issue-23515-cache-key-generator
Introduce CacheKeyGenerator
- Loading branch information
Showing
14 changed files
with
566 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...src/main/java/io/quarkus/cache/deployment/exception/KeyGeneratorConstructorException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package io.quarkus.cache.deployment.exception; | ||
|
||
import org.jboss.jandex.ClassInfo; | ||
|
||
public class KeyGeneratorConstructorException extends RuntimeException { | ||
|
||
private ClassInfo classInfo; | ||
|
||
public KeyGeneratorConstructorException(ClassInfo classInfo) { | ||
super("No default constructor found in cache key generator [class=" + classInfo.name() + "]"); | ||
this.classInfo = classInfo; | ||
} | ||
|
||
public ClassInfo getClassInfo() { | ||
return classInfo; | ||
} | ||
} |
Oops, something went wrong.