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

duanzhengqiang 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 64306159aa5 Rename shardingsphere-error module to 
shardingsphere-dialect-exception (#20230)
64306159aa5 is described below

commit 64306159aa55a628e8e628b7c18fdb76b0d9ad9a
Author: Liang Zhang <[email protected]>
AuthorDate: Wed Aug 17 14:09:20 2022 +0800

    Rename shardingsphere-error module to shardingsphere-dialect-exception 
(#20230)
    
    * Rename shardingsphere-error module to shardingsphere-dialect-exception
    
    * Rename shardingsphere-error module to shardingsphere-dialect-exception
---
 docs/document/content/reference/sharding/parse.cn.md              | 1 +
 pom.xml                                                           | 2 +-
 .../shardingsphere-db-protocol-core/pom.xml                       | 2 +-
 .../shardingsphere-db-protocol-mysql/pom.xml                      | 2 +-
 .../shardingsphere-db-protocol-opengauss/pom.xml                  | 2 +-
 .../shardingsphere-db-protocol-postgresql/pom.xml                 | 2 +-
 .../pom.xml                                                       | 8 ++++----
 .../shardingsphere-dialect-exception-core}/pom.xml                | 4 ++--
 .../shardingsphere/error/exception/SQLDialectException.java       | 0
 .../error/exception/connection/TooManyConnectionsException.java   | 0
 .../exception/data/InsertColumnsAndValuesMismatchedException.java | 0
 .../error/exception/data/InvalidParameterValueException.java      | 0
 .../exception/syntax/database/DatabaseCreateExistsException.java  | 0
 .../exception/syntax/database/DatabaseDropNotExistsException.java | 0
 .../exception/syntax/database/NoDatabaseSelectedException.java    | 0
 .../error/exception/syntax/database/UnknownDatabaseException.java | 0
 .../error/exception/syntax/table/NoSuchTableException.java        | 0
 .../error/exception/syntax/table/TableExistsException.java        | 0
 .../error/exception/transaction/InTransactionException.java       | 0
 .../exception/transaction/TableModifyInTransactionException.java  | 0
 .../shardingsphere/error/mapper/SQLDialectExceptionMapper.java    | 0
 .../error/mapper/SQLDialectExceptionMapperFactory.java            | 0
 .../shardingsphere-mysql-dialect-exception}/pom.xml               | 6 +++---
 .../apache/shardingsphere/error/mysql/code/MySQLVendorError.java  | 0
 .../error/mysql/mapper/MySQLDialectExceptionMapper.java           | 0
 ...g.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper | 0
 .../shardingsphere/error/mysql/code/MySQLVendorErrorTest.java     | 0
 .../shardingsphere-postgresql-dialect-exception}/pom.xml          | 6 +++---
 .../error/postgresql/code/PostgreSQLVendorError.java              | 0
 .../error/postgresql/mapper/PostgreSQLDialectExceptionMapper.java | 0
 .../shardingsphere/error/postgresql/sqlstate/PostgreSQLState.java | 0
 ...g.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper | 0
 shardingsphere-infra/shardingsphere-infra-binder/pom.xml          | 2 +-
 .../shardingsphere-proxy-frontend-mysql/pom.xml                   | 2 +-
 34 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/docs/document/content/reference/sharding/parse.cn.md 
b/docs/document/content/reference/sharding/parse.cn.md
index 4a4bec0ce75..7e82c6fb670 100644
--- a/docs/document/content/reference/sharding/parse.cn.md
+++ b/docs/document/content/reference/sharding/parse.cn.md
@@ -1,3 +1,4 @@
+
 +++
 title = "解析引擎"
 weight = 1
diff --git a/pom.xml b/pom.xml
index 8fc33389aa9..fae50005296 100644
--- a/pom.xml
+++ b/pom.xml
@@ -33,7 +33,7 @@
     
     <modules>
         <module>shardingsphere-infra</module>
-        <module>shardingsphere-error</module>
+        <module>shardingsphere-dialect-exception</module>
         <module>shardingsphere-sql-parser</module>
         <module>shardingsphere-distsql</module>
         <module>shardingsphere-db-protocol</module>
diff --git a/shardingsphere-db-protocol/shardingsphere-db-protocol-core/pom.xml 
b/shardingsphere-db-protocol/shardingsphere-db-protocol-core/pom.xml
index 186ea5b49af..a4d773b982c 100644
--- a/shardingsphere-db-protocol/shardingsphere-db-protocol-core/pom.xml
+++ b/shardingsphere-db-protocol/shardingsphere-db-protocol-core/pom.xml
@@ -30,7 +30,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-common-error</artifactId>
+            <artifactId>shardingsphere-dialect-exception-core</artifactId>
             <version>${project.version}</version>
         </dependency>
         
diff --git 
a/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/pom.xml 
b/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/pom.xml
index 93af12cfede..f4cdef0c3b4 100644
--- a/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/pom.xml
+++ b/shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/pom.xml
@@ -36,7 +36,7 @@
         
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-mysql-error</artifactId>
+            <artifactId>shardingsphere-mysql-dialect-exception</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git 
a/shardingsphere-db-protocol/shardingsphere-db-protocol-opengauss/pom.xml 
b/shardingsphere-db-protocol/shardingsphere-db-protocol-opengauss/pom.xml
index ebcb1b5429e..c1f9c3707ac 100644
--- a/shardingsphere-db-protocol/shardingsphere-db-protocol-opengauss/pom.xml
+++ b/shardingsphere-db-protocol/shardingsphere-db-protocol-opengauss/pom.xml
@@ -36,7 +36,7 @@
         
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-postgresql-error</artifactId>
+            
<artifactId>shardingsphere-postgresql-dialect-exception</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git 
a/shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/pom.xml 
b/shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/pom.xml
index ace3effbf46..f6e2d533042 100644
--- a/shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/pom.xml
+++ b/shardingsphere-db-protocol/shardingsphere-db-protocol-postgresql/pom.xml
@@ -36,7 +36,7 @@
         
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-postgresql-error</artifactId>
+            
<artifactId>shardingsphere-postgresql-dialect-exception</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git a/shardingsphere-error/pom.xml 
b/shardingsphere-dialect-exception/pom.xml
similarity index 84%
rename from shardingsphere-error/pom.xml
rename to shardingsphere-dialect-exception/pom.xml
index deae4987db1..e452467e1ea 100644
--- a/shardingsphere-error/pom.xml
+++ b/shardingsphere-dialect-exception/pom.xml
@@ -24,13 +24,13 @@
         <artifactId>shardingsphere</artifactId>
         <version>5.1.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-error</artifactId>
+    <artifactId>shardingsphere-dialect-exception</artifactId>
     <packaging>pom</packaging>
     <name>${project.artifactId}</name>
     
     <modules>
-        <module>shardingsphere-common-error</module>
-        <module>shardingsphere-mysql-error</module>
-        <module>shardingsphere-postgresql-error</module>
+        <module>shardingsphere-dialect-exception-core</module>
+        <module>shardingsphere-mysql-dialect-exception</module>
+        <module>shardingsphere-postgresql-dialect-exception</module>
     </modules>
 </project>
diff --git a/shardingsphere-error/shardingsphere-common-error/pom.xml 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/pom.xml
similarity index 92%
rename from shardingsphere-error/shardingsphere-common-error/pom.xml
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/pom.xml
index e9dd911554c..b16b148736b 100644
--- a/shardingsphere-error/shardingsphere-common-error/pom.xml
+++ 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/pom.xml
@@ -21,10 +21,10 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere-error</artifactId>
+        <artifactId>shardingsphere-dialect-exception</artifactId>
         <version>5.1.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-common-error</artifactId>
+    <artifactId>shardingsphere-dialect-exception-core</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/SQLDialectException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/SQLDialectException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/SQLDialectException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/SQLDialectException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/connection/TooManyConnectionsException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/connection/TooManyConnectionsException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/connection/TooManyConnectionsException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/connection/TooManyConnectionsException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/data/InsertColumnsAndValuesMismatchedException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/data/InsertColumnsAndValuesMismatchedException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/data/InsertColumnsAndValuesMismatchedException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/data/InsertColumnsAndValuesMismatchedException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/data/InvalidParameterValueException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/data/InvalidParameterValueException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/data/InvalidParameterValueException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/data/InvalidParameterValueException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/DatabaseCreateExistsException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/DatabaseCreateExistsException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/DatabaseCreateExistsException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/DatabaseCreateExistsException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/DatabaseDropNotExistsException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/DatabaseDropNotExistsException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/DatabaseDropNotExistsException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/DatabaseDropNotExistsException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/NoDatabaseSelectedException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/NoDatabaseSelectedException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/NoDatabaseSelectedException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/NoDatabaseSelectedException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/UnknownDatabaseException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/UnknownDatabaseException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/UnknownDatabaseException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/database/UnknownDatabaseException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/table/NoSuchTableException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/table/NoSuchTableException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/table/NoSuchTableException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/table/NoSuchTableException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/table/TableExistsException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/table/TableExistsException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/syntax/table/TableExistsException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/syntax/table/TableExistsException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/transaction/InTransactionException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/transaction/InTransactionException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/transaction/InTransactionException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/transaction/InTransactionException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/transaction/TableModifyInTransactionException.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/transaction/TableModifyInTransactionException.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/exception/transaction/TableModifyInTransactionException.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/exception/transaction/TableModifyInTransactionException.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/mapper/SQLDialectExceptionMapper.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/mapper/SQLDialectExceptionMapper.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/mapper/SQLDialectExceptionMapper.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/mapper/SQLDialectExceptionMapper.java
diff --git 
a/shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/mapper/SQLDialectExceptionMapperFactory.java
 
b/shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/mapper/SQLDialectExceptionMapperFactory.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-common-error/src/main/java/org/apache/shardingsphere/error/mapper/SQLDialectExceptionMapperFactory.java
rename to 
shardingsphere-dialect-exception/shardingsphere-dialect-exception-core/src/main/java/org/apache/shardingsphere/error/mapper/SQLDialectExceptionMapperFactory.java
diff --git a/shardingsphere-error/shardingsphere-mysql-error/pom.xml 
b/shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/pom.xml
similarity index 87%
rename from shardingsphere-error/shardingsphere-mysql-error/pom.xml
rename to 
shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/pom.xml
index 44c89ac3eb6..b1563a9b7f0 100644
--- a/shardingsphere-error/shardingsphere-mysql-error/pom.xml
+++ 
b/shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/pom.xml
@@ -21,16 +21,16 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere-error</artifactId>
+        <artifactId>shardingsphere-dialect-exception</artifactId>
         <version>5.1.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-mysql-error</artifactId>
+    <artifactId>shardingsphere-mysql-dialect-exception</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-common-error</artifactId>
+            <artifactId>shardingsphere-dialect-exception-core</artifactId>
             <version>${project.version}</version>
         </dependency>
     </dependencies>
diff --git 
a/shardingsphere-error/shardingsphere-mysql-error/src/main/java/org/apache/shardingsphere/error/mysql/code/MySQLVendorError.java
 
b/shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/src/main/java/org/apache/shardingsphere/error/mysql/code/MySQLVendorError.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-mysql-error/src/main/java/org/apache/shardingsphere/error/mysql/code/MySQLVendorError.java
rename to 
shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/src/main/java/org/apache/shardingsphere/error/mysql/code/MySQLVendorError.java
diff --git 
a/shardingsphere-error/shardingsphere-mysql-error/src/main/java/org/apache/shardingsphere/error/mysql/mapper/MySQLDialectExceptionMapper.java
 
b/shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/src/main/java/org/apache/shardingsphere/error/mysql/mapper/MySQLDialectExceptionMapper.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-mysql-error/src/main/java/org/apache/shardingsphere/error/mysql/mapper/MySQLDialectExceptionMapper.java
rename to 
shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/src/main/java/org/apache/shardingsphere/error/mysql/mapper/MySQLDialectExceptionMapper.java
diff --git 
a/shardingsphere-error/shardingsphere-mysql-error/src/main/resources/META-INF/services/org.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper
 
b/shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/src/main/resources/META-INF/services/org.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-mysql-error/src/main/resources/META-INF/services/org.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper
rename to 
shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/src/main/resources/META-INF/services/org.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper
diff --git 
a/shardingsphere-error/shardingsphere-mysql-error/src/test/java/org/apache/shardingsphere/error/mysql/code/MySQLVendorErrorTest.java
 
b/shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/src/test/java/org/apache/shardingsphere/error/mysql/code/MySQLVendorErrorTest.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-mysql-error/src/test/java/org/apache/shardingsphere/error/mysql/code/MySQLVendorErrorTest.java
rename to 
shardingsphere-dialect-exception/shardingsphere-mysql-dialect-exception/src/test/java/org/apache/shardingsphere/error/mysql/code/MySQLVendorErrorTest.java
diff --git a/shardingsphere-error/shardingsphere-postgresql-error/pom.xml 
b/shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/pom.xml
similarity index 88%
rename from shardingsphere-error/shardingsphere-postgresql-error/pom.xml
rename to 
shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/pom.xml
index dde5e7e94db..26d3f40c46e 100644
--- a/shardingsphere-error/shardingsphere-postgresql-error/pom.xml
+++ 
b/shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/pom.xml
@@ -21,16 +21,16 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.shardingsphere</groupId>
-        <artifactId>shardingsphere-error</artifactId>
+        <artifactId>shardingsphere-dialect-exception</artifactId>
         <version>5.1.3-SNAPSHOT</version>
     </parent>
-    <artifactId>shardingsphere-postgresql-error</artifactId>
+    <artifactId>shardingsphere-postgresql-dialect-exception</artifactId>
     <name>${project.artifactId}</name>
     
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-common-error</artifactId>
+            <artifactId>shardingsphere-dialect-exception-core</artifactId>
             <version>${project.version}</version>
         </dependency>
         
diff --git 
a/shardingsphere-error/shardingsphere-postgresql-error/src/main/java/org/apache/shardingsphere/error/postgresql/code/PostgreSQLVendorError.java
 
b/shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/src/main/java/org/apache/shardingsphere/error/postgresql/code/PostgreSQLVendorError.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-postgresql-error/src/main/java/org/apache/shardingsphere/error/postgresql/code/PostgreSQLVendorError.java
rename to 
shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/src/main/java/org/apache/shardingsphere/error/postgresql/code/PostgreSQLVendorError.java
diff --git 
a/shardingsphere-error/shardingsphere-postgresql-error/src/main/java/org/apache/shardingsphere/error/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
 
b/shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/src/main/java/org/apache/shardingsphere/error/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-postgresql-error/src/main/java/org/apache/shardingsphere/error/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
rename to 
shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/src/main/java/org/apache/shardingsphere/error/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
diff --git 
a/shardingsphere-error/shardingsphere-postgresql-error/src/main/java/org/apache/shardingsphere/error/postgresql/sqlstate/PostgreSQLState.java
 
b/shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/src/main/java/org/apache/shardingsphere/error/postgresql/sqlstate/PostgreSQLState.java
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-postgresql-error/src/main/java/org/apache/shardingsphere/error/postgresql/sqlstate/PostgreSQLState.java
rename to 
shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/src/main/java/org/apache/shardingsphere/error/postgresql/sqlstate/PostgreSQLState.java
diff --git 
a/shardingsphere-error/shardingsphere-postgresql-error/src/main/resources/META-INF/services/org.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper
 
b/shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/src/main/resources/META-INF/services/org.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper
similarity index 100%
rename from 
shardingsphere-error/shardingsphere-postgresql-error/src/main/resources/META-INF/services/org.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper
rename to 
shardingsphere-dialect-exception/shardingsphere-postgresql-dialect-exception/src/main/resources/META-INF/services/org.apache.shardingsphere.error.mapper.SQLDialectExceptionMapper
diff --git a/shardingsphere-infra/shardingsphere-infra-binder/pom.xml 
b/shardingsphere-infra/shardingsphere-infra-binder/pom.xml
index 4559cf83aaf..4826c4eb484 100644
--- a/shardingsphere-infra/shardingsphere-infra-binder/pom.xml
+++ b/shardingsphere-infra/shardingsphere-infra-binder/pom.xml
@@ -30,7 +30,7 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-common-error</artifactId>
+            <artifactId>shardingsphere-dialect-exception-core</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>
diff --git 
a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/pom.xml
 
b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/pom.xml
index 441da5d5c42..29de9410d6b 100644
--- 
a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/pom.xml
+++ 
b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/pom.xml
@@ -40,7 +40,7 @@
         </dependency>
         <dependency>
             <groupId>org.apache.shardingsphere</groupId>
-            <artifactId>shardingsphere-mysql-error</artifactId>
+            <artifactId>shardingsphere-mysql-dialect-exception</artifactId>
             <version>${project.version}</version>
         </dependency>
         <dependency>

Reply via email to