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 9ddc2580b90 Remove LoadBalancerAlgorithmNotFoundException (#30674)
9ddc2580b90 is described below

commit 9ddc2580b90cad11bc205b45086742730c6ff723
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Mar 27 23:06:16 2024 +0800

    Remove LoadBalancerAlgorithmNotFoundException (#30674)
---
 .../user-manual/error-code/sql-error-code.cn.md    |  1 -
 .../user-manual/error-code/sql-error-code.en.md    |  1 -
 .../LoadBalancerAlgorithmNotFoundException.java    | 33 ----------------------
 3 files changed, 35 deletions(-)

diff --git a/docs/document/content/user-manual/error-code/sql-error-code.cn.md 
b/docs/document/content/user-manual/error-code/sql-error-code.cn.md
index 7e261cdfdbd..54ccb01e1f4 100644
--- a/docs/document/content/user-manual/error-code/sql-error-code.cn.md
+++ b/docs/document/content/user-manual/error-code/sql-error-code.cn.md
@@ -238,7 +238,6 @@ SQL 错误码以标准的 SQL State,Vendor Code 和详细错误信息提供,
 | 44000     | 20293       | Can not config duplicate %s data source \`%s\` in 
database \`%s\.`                          |
 | 42S02     | 20294       | %s data source name \`%s\` not in database \`%s\.` 
                                         |
 | 44000     | 20295       | Auto aware data source name is required in 
database \`%s\.`                                 |
-| 42S02     | 20296       | Not found load balance type in database \`%s\.`    
                                         |
 
 ### SQL 方言转换
 
diff --git a/docs/document/content/user-manual/error-code/sql-error-code.en.md 
b/docs/document/content/user-manual/error-code/sql-error-code.en.md
index 14be811ad69..80dd67d63e7 100644
--- a/docs/document/content/user-manual/error-code/sql-error-code.en.md
+++ b/docs/document/content/user-manual/error-code/sql-error-code.en.md
@@ -238,7 +238,6 @@ SQL error codes provide by standard `SQL State`, `Vendor 
Code` and `Reason`, whi
 | 44000     | 20293       | Can not config duplicate %s data source \`%s\` in 
database \`%s\.`                          |
 | 42S02     | 20294       | %s data source name \`%s\` not in database \`%s\.` 
                                         |
 | 44000     | 20295       | Auto aware data source name is required in 
database \`%s\.`                                 |
-| 42S02     | 20296       | Not found load balance type in database \`%s\.`    
                                         |
 
 ### Database HA
 
diff --git 
a/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/exception/checker/LoadBalancerAlgorithmNotFoundException.java
 
b/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/exception/checker/LoadBalancerAlgorithmNotFoundException.java
deleted file mode 100644
index 48bcd7a56ca..00000000000
--- 
a/features/readwrite-splitting/core/src/main/java/org/apache/shardingsphere/readwritesplitting/exception/checker/LoadBalancerAlgorithmNotFoundException.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.readwritesplitting.exception.checker;
-
-import 
org.apache.shardingsphere.infra.exception.core.external.sql.sqlstate.XOpenSQLState;
-import 
org.apache.shardingsphere.readwritesplitting.exception.ReadwriteSplittingSQLException;
-
-/**
- * Load balancer algorithm not found exception.
- */
-public final class LoadBalancerAlgorithmNotFoundException extends 
ReadwriteSplittingSQLException {
-    
-    private static final long serialVersionUID = -5517443698152561344L;
-    
-    public LoadBalancerAlgorithmNotFoundException(final String databaseName) {
-        super(XOpenSQLState.NOT_FOUND, 96, "Not found load balance type in 
database `%s`.", databaseName);
-    }
-}

Reply via email to