You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by su...@apache.org on 2023/05/02 14:07:33 UTC

[shardingsphere] branch master updated: Remove unnecessary class (#25429)

This is an automated email from the ASF dual-hosted git repository.

sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new a201c0e3867 Remove unnecessary class (#25429)
a201c0e3867 is described below

commit a201c0e38676eb85cfddd771f18557a57bae8fe5
Author: zhaojinchao <zh...@apache.org>
AuthorDate: Tue May 2 22:07:24 2023 +0800

    Remove unnecessary class (#25429)
---
 .../InvalidShadowAlgorithmOperationException.java  | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git a/features/shadow/core/src/main/java/org/apache/shardingsphere/shadow/exception/metadata/InvalidShadowAlgorithmOperationException.java b/features/shadow/core/src/main/java/org/apache/shardingsphere/shadow/exception/metadata/InvalidShadowAlgorithmOperationException.java
deleted file mode 100644
index 64ea890050e..00000000000
--- a/features/shadow/core/src/main/java/org/apache/shardingsphere/shadow/exception/metadata/InvalidShadowAlgorithmOperationException.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * 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 org.apache.shardingsphere.shadow.exception.metadata;
-
-import org.apache.shardingsphere.infra.util.exception.external.sql.sqlstate.XOpenSQLState;
-import org.apache.shardingsphere.shadow.exception.ShadowSQLException;
-
-/**
- * Invalid shadow algorithm operation exception.
- */
-public final class InvalidShadowAlgorithmOperationException extends ShadowSQLException {
-    
-    private static final long serialVersionUID = -4369256549985752449L;
-    
-    public InvalidShadowAlgorithmOperationException(final String operationType, final String tableName) {
-        super(XOpenSQLState.CHECK_OPTION_VIOLATION, 3, "Column shadow algorithm `%s` operation only supports one column mapping in shadow table `%s`.", operationType, tableName);
-    }
-}