Class DuplicateRuleException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shardingsphere.infra.util.exception.external.ShardingSphereExternalException
org.apache.shardingsphere.infra.util.exception.external.sql.ShardingSphereSQLException
org.apache.shardingsphere.infra.util.exception.external.sql.type.kernel.KernelSQLException
All Implemented Interfaces:
Serializable

public final class DuplicateRuleException extends RuleDefinitionViolationException
Duplicate rule exception.
See Also:
  • Constructor Details

    • DuplicateRuleException

      public DuplicateRuleException(String ruleType, String databaseName, Collection<String> ruleNames)
    • DuplicateRuleException

      public DuplicateRuleException(String ruleType, Collection<String> ruleNames)
    • DuplicateRuleException

      public DuplicateRuleException(String type, String databaseName)