We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4a546 commit 21c3af9Copy full SHA for 21c3af9
polaris-core/src/main/java/org/apache/polaris/core/persistence/EntityAlreadyExistsException.java
@@ -25,13 +25,14 @@
25
* creation of a new entity; provides a member holding the conflicting entity.
26
*/
27
public class EntityAlreadyExistsException extends RuntimeException {
28
- private PolarisBaseEntity existingEntity;
+ private final PolarisBaseEntity existingEntity;
29
30
/**
31
* @param existingEntity The conflicting entity that caused creation to fail.
32
33
public EntityAlreadyExistsException(PolarisBaseEntity existingEntity) {
34
super(message(existingEntity));
35
+ this.existingEntity = existingEntity;
36
}
37
38
public EntityAlreadyExistsException(PolarisBaseEntity existingEntity, Throwable cause) {
0 commit comments