JAkutenshi commented on code in PR #6902:
URL: https://github.com/apache/ignite-3/pull/6902#discussion_r2537401250
##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/exception/DistributionZonesNotFoundException.java:
##########
@@ -15,17 +15,18 @@
* limitations under the License.
*/
-package org.apache.ignite.internal.table.distributed.disaster.exceptions;
+package org.apache.ignite.internal.distributionzones.exception;
import static
org.apache.ignite.lang.ErrorGroups.DistributionZones.ZONE_NOT_FOUND_ERR;
-import java.util.Set;
+import java.util.Collection;
+import org.apache.ignite.internal.lang.IgniteInternalException;
/** Exception is thrown when appropriate zones can`t be found. */
-public class ZonesNotFoundException extends DisasterRecoveryException {
+public class DistributionZonesNotFoundException extends
IgniteInternalException {
private static final long serialVersionUID = -8475588176132321568L;
- public ZonesNotFoundException(Set<String> missingZoneNames) {
+ public DistributionZonesNotFoundException(Collection<String>
missingZoneNames) {
super(ZONE_NOT_FOUND_ERR, "Some distribution zones are missing: " +
missingZoneNames);
Review Comment:
Merged to the `DistributionZoneNotFoundException` through the separate
constructor and consistent message
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]