-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(#755): Cannot use facetGroup conjunction/disjunction/negation on …
…non managed referenced groups
- Loading branch information
Showing
7 changed files
with
387 additions
and
36 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
evita_api/src/main/java/io/evitadb/api/exception/EntityNotManagedException.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,46 @@ | ||
/* | ||
* | ||
* _ _ ____ ____ | ||
* _____ _(_) |_ __ _| _ \| __ ) | ||
* / _ \ \ / / | __/ _` | | | | _ \ | ||
* | __/\ V /| | || (_| | |_| | |_) | | ||
* \___| \_/ |_|\__\__,_|____/|____/ | ||
* | ||
* Copyright (c) 2024 | ||
* | ||
* Licensed under the Business Source License, Version 1.1 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://github.com/FgForrest/evitaDB/blob/master/LICENSE | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package io.evitadb.api.exception; | ||
|
||
|
||
import io.evitadb.exception.EvitaInvalidUsageException; | ||
|
||
import javax.annotation.Nonnull; | ||
import java.io.Serial; | ||
|
||
/** | ||
* Exception is thrown when the code needs the entity type to be managed by evitaDB, but it is not. | ||
* | ||
* @author Jan Novotný (novotny@fg.cz), FG Forrest a.s. (c) 2024 | ||
*/ | ||
public class EntityNotManagedException extends EvitaInvalidUsageException { | ||
@Serial private static final long serialVersionUID = 2826263371602773442L; | ||
|
||
public EntityNotManagedException(@Nonnull String entityType) { | ||
super( | ||
"Cannot execute the operation, entity type `" + entityType + "` is not managed by evitaDB!" | ||
); | ||
} | ||
|
||
} |
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
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
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
Oops, something went wrong.