You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/09/30 10:56:20 UTC
[shardingsphere] branch master updated: Add full stop in the end of error messages (#21285)
This is an automated email from the ASF dual-hosted git repository.
zhaojinchao 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 8fc638651c6 Add full stop in the end of error messages (#21285)
8fc638651c6 is described below
commit 8fc638651c6c9bf6b9eefcc2f1732d098ad68b79
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Fri Sep 30 18:56:10 2022 +0800
Add full stop in the end of error messages (#21285)
---
.../user-manual/error-code/server-error-code.cn.md | 10 +-
.../user-manual/error-code/server-error-code.en.md | 10 +-
.../user-manual/error-code/sql-error-code.cn.md | 218 ++++++++++-----------
.../user-manual/error-code/sql-error-code.en.md | 218 ++++++++++-----------
.../InvalidMGRGroupNameConfigurationException.java | 2 +-
.../exception/mgr/InvalidMGRModeException.java | 2 +-
.../exception/mgr/InvalidMGRPluginException.java | 2 +-
.../InvalidMGRReplicationGroupMemberException.java | 2 +-
.../metadata/EncryptColumnAlterException.java | 2 +-
.../metadata/EncryptColumnNotFoundException.java | 2 +-
.../EncryptLogicColumnNotFoundException.java | 2 +-
.../UnsupportedEncryptInsertValueException.java | 2 +-
.../syntax/UnsupportedEncryptSQLException.java | 2 +-
.../InvalidReadDatabaseWeightException.java | 2 +-
.../data/UnsupportedShadowColumnTypeException.java | 2 +-
.../UnsupportedShadowInsertValueException.java | 2 +-
.../GenerateKeyStrategyNotFoundException.java | 2 +-
...rdingAlgorithmExpressionAndColumnException.java | 2 +-
...rdingAlgorithmClassImplementationException.java | 2 +-
.../algorithm/ShardingRouteAlgorithmException.java | 2 +-
.../connection/CursorNameNotFoundException.java | 2 +-
.../EmptyShardingRouteResultException.java | 2 +-
.../connection/ShardingDDLRouteException.java | 2 +-
.../data/InvalidDatetimeFormatException.java | 2 +-
.../exception/data/NullShardingValueException.java | 2 +-
.../data/ShardingValueDataTypeException.java | 2 +-
.../metadata/ActualTableNotFoundException.java | 2 +-
.../metadata/BindingTableNotFoundException.java | 2 +-
.../metadata/DataNodeGenerateException.java | 2 +-
.../DataNodesMissedWithShardingTableException.java | 2 +-
.../metadata/DropInUsedTablesException.java | 2 +-
.../metadata/DuplicatedIndexException.java | 2 +-
.../exception/metadata/EngagedViewException.java | 2 +-
.../metadata/IndexNotExistedException.java | 2 +-
.../metadata/ShardingRuleNotFoundException.java | 2 +-
.../DMLMultipleDataNodesWithLimitException.java | 2 +-
.../DMLWithMultipleShardingTablesException.java | 2 +-
.../DataSourceIntersectionNotFoundException.java | 2 +-
.../InsertSelectTableViolationException.java | 2 +-
...GenerateKeyColumnWithInsertSelectException.java | 2 +-
...namedViewWithoutSameConfigurationException.java | 2 +-
.../syntax/UnsupportedCreateViewException.java | 2 +-
...ortedPrepareRouteToSameDataSourceException.java | 2 +-
.../UnsupportedShardingOperationException.java | 2 +-
.../UnsupportedUpdatingShardingValueException.java | 2 +-
...portedShardingAlgorithmTypeServerException.java | 2 +-
.../infra/check/SQLCheckException.java | 2 +-
.../metadata/UnrecognizedDatabaseURLException.java | 2 +-
.../resource/DuplicateResourceException.java | 2 +-
.../exception/resource/EmptyResourceException.java | 2 +-
.../MissingRequiredResourcesException.java | 2 +-
.../resource/ResourceInUsedException.java | 2 +-
.../exception/rule/AlgorithmInUsedException.java | 2 +-
.../rule/DuplicateAlgorithmException.java | 2 +-
.../exception/rule/DuplicateRuleException.java | 6 +-
.../InvalidAlgorithmConfigurationException.java | 6 +-
.../rule/MissingRequiredAlgorithmException.java | 8 +-
.../rule/MissingRequiredRuleException.java | 10 +-
.../exception/rule/RuleDisabledException.java | 2 +-
.../exception/rule/RuleEnabledException.java | 2 +-
.../exception/rule/RuleInUsedException.java | 2 +-
.../exception/InvalidDataNodesFormatException.java | 2 +-
.../OverallConnectionNotEnoughException.java | 2 +-
.../exception/TableLockWaitTimeoutException.java | 2 +-
.../infra/lock/exception/TableLockedException.java | 2 +-
...nsupportedActualDataNodeStructureException.java | 2 +-
...DatetimeConfigurationFileNotFoundException.java | 2 +-
.../UnsupportedDataTypeConversionException.java | 2 +-
...nsupportedStreamCharsetConversionException.java | 2 +-
.../ServiceProviderNotFoundServerException.java | 4 +-
.../ShardingSphereServerExceptionFixture.java | 2 +-
.../ServiceProviderNotFoundExceptionTest.java | 4 +-
.../connection/ConnectionClosedException.java | 2 +-
.../connection/ResultSetClosedException.java | 2 +-
.../syntax/ColumnIndexOutOfRangeException.java | 2 +-
.../syntax/ColumnLabelNotFoundException.java | 2 +-
.../jdbc/exception/syntax/EmptySQLException.java | 2 +-
.../JDBCTransactionAcrossDatabasesException.java | 2 +-
.../core/connection/ConnectionManagerTest.java | 2 +-
.../DataSourceJndiNotFoundServerException.java | 2 +-
.../AddMigrationSourceResourceException.java | 2 +-
.../DropMigrationSourceResourceException.java | 2 +-
...DataConsistencyCheckLoadingFailedException.java | 2 +-
...PipelineUnexpectedDataRecordOrderException.java | 2 +-
...DataConsistencyCalculateAlgorithmException.java | 2 +-
.../UnsupportedPipelineDatabaseTypeException.java | 2 +-
.../BinlogSyncChannelAlreadyClosedException.java | 2 +-
.../job/PipelineImporterJobWriteException.java | 2 +-
...bCreationWithInvalidShardingCountException.java | 2 +-
.../job/PipelineJobExecutionException.java | 2 +-
.../PipelineJobHasAlreadyFinishedException.java | 2 +-
.../job/PipelineJobHasAlreadyStartedException.java | 2 +-
.../job/PipelineJobNotFoundException.java | 2 +-
...areJobWithInvalidSourceDataSourceException.java | 2 +-
...PrepareJobWithTargetTableNotEmptyException.java | 2 +-
.../PrepareJobWithoutEnoughPrivilegeException.java | 2 +-
.../job/PrepareJobWithoutUserException.java | 2 +-
...ompletedConsistencyCheckJobExistsException.java | 2 +-
...AlterNotExistProcessConfigurationException.java | 2 +-
.../CreateExistsProcessConfigurationException.java | 2 +-
.../syntax/CreateTableSQLGenerateException.java | 2 +-
.../exception/DropNotEmptySchemaException.java | 2 +-
.../exception/SchemaNotFoundException.java | 2 +-
.../exception/SingleTableNotFoundException.java | 2 +-
.../UnsupportedDropCascadeTableException.java | 2 +-
.../OptimizationSQLNodeConvertException.java | 2 +-
.../exception/OptimizationSQLRexNodeException.java | 2 +-
.../UnsupportedTranslatedDatabaseException.java | 2 +-
.../EmptyTrafficExecutionUnitException.java | 2 +-
.../SwitchTypeInTransactionException.java | 2 +-
.../exception/XADataSourceInitializeException.java | 2 +-
.../XATransactionNestedBeginException.java | 2 +-
.../exception/WorkIdAssignedException.java | 2 +-
.../backend/exception/InvalidValueException.java | 2 +-
.../exception/ResourceNotExistedException.java | 2 +-
.../backend/exception/RuleNotExistedException.java | 2 +-
.../exception/UnsupportedVariableException.java | 2 +-
.../DatabaseServerLoadingServerException.java | 2 +-
.../frontend/exception/CircuitBreakException.java | 2 +-
.../mysql/err/MySQLErrPacketFactoryTest.java | 2 +-
.../parser/exception/SQLASTVisitorException.java | 2 +-
121 files changed, 358 insertions(+), 358 deletions(-)
diff --git a/docs/document/content/user-manual/error-code/server-error-code.cn.md b/docs/document/content/user-manual/error-code/server-error-code.cn.md
index 6f3373b102f..a42cd50aa77 100644
--- a/docs/document/content/user-manual/error-code/server-error-code.cn.md
+++ b/docs/document/content/user-manual/error-code/server-error-code.cn.md
@@ -8,9 +8,9 @@ chapter = true
| 错误码 | 错误信息 |
| --------------------- | ------ |
-| SPI-00001 | No implementation class load from SPI \`%s\` with type \`%s\` |
+| SPI-00001 | No implementation class load from SPI \`%s\` with type \`%s\`. |
| DATA-SOURCE-00001 | Data source unavailable. |
-| PROPS-00001 | Value \`%s\` of \`%s\` cannot convert to type \`%s\` |
-| PROXY-00001 | Load database server info failed |
-| SPRING-00001 | Can not find JNDI data source |
-| SPRING-SHARDING-00001 | Can not support type \`%s\` |
+| PROPS-00001 | Value \`%s\` of \`%s\` cannot convert to type \`%s\`. |
+| PROXY-00001 | Load database server info failed. |
+| SPRING-00001 | Can not find JNDI data source. |
+| SPRING-SHARDING-00001 | Can not support type \`%s\`. |
diff --git a/docs/document/content/user-manual/error-code/server-error-code.en.md b/docs/document/content/user-manual/error-code/server-error-code.en.md
index c8023598eae..6a41eb0955b 100644
--- a/docs/document/content/user-manual/error-code/server-error-code.en.md
+++ b/docs/document/content/user-manual/error-code/server-error-code.en.md
@@ -8,9 +8,9 @@ Unique codes provided when server exception occur, which printed by Proxy backen
| Error Code | Reason |
| --------------------- | ------ |
-| SPI-00001 | No implementation class load from SPI \`%s\` with type \`%s\` |
+| SPI-00001 | No implementation class load from SPI \`%s\` with type \`%s\`. |
| DATA-SOURCE-00001 | Data source unavailable. |
-| PROPS-00001 | Value \`%s\` of \`%s\` cannot convert to type \`%s\` |
-| PROXY-00001 | Load database server info failed |
-| SPRING-00001 | Can not find JNDI data source |
-| SPRING-SHARDING-00001 | Can not support type \`%s\` |
+| PROPS-00001 | Value \`%s\` of \`%s\` cannot convert to type \`%s\`. |
+| PROXY-00001 | Load database server info failed. |
+| SPRING-00001 | Can not find JNDI data source. |
+| SPRING-SHARDING-00001 | Can not support type \`%s\`. |
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 c164cde2108..6d31aca6b29 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
@@ -14,63 +14,63 @@ SQL 错误码以标准的 SQL State,Vendor Code 和详细错误信息提供,
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| 42000 | 10000 | Resource does not exist |
-| 08000 | 10001 | The URL \`%s\` is not recognized, please refer to the pattern \`%s\` |
-| 42000 | 10002 | Can not support 3-tier structure for actual data node \`%s\` with JDBC \`%s\` |
-| HY004 | 10003 | Invalid format for actual data node \`%s\` |
-| 42000 | 10004 | Unsupported SQL node conversion for SQL statement \`%s\` |
-| 42000 | 10010 | Rule does not exist |
-| 42S02 | 10020 | Schema \`%s\` does not exist |
-| 42S02 | 10021 | Single table \`%s\` does not exist |
-| HY000 | 10022 | Can not load table with database name \`%s\` and data source name \`%s\` |
-| 0A000 | 10030 | Can not drop schema \`%s\` because of contains tables |
+| 42000 | 10000 | Resource does not exist. |
+| 08000 | 10001 | The URL \`%s\` is not recognized, please refer to the pattern \`%s\`. |
+| 42000 | 10002 | Can not support 3-tier structure for actual data node \`%s\` with JDBC \`%s\`. |
+| HY004 | 10003 | Invalid format for actual data node \`%s\`. |
+| 42000 | 10004 | Unsupported SQL node conversion for SQL statement \`%s\`. |
+| 42000 | 10010 | Rule does not exist. |
+| 42S02 | 10020 | Schema \`%s\` does not exist. |
+| 42S02 | 10021 | Single table \`%s\` does not exist. |
+| HY000 | 10022 | Can not load table with database name \`%s\` and data source name \`%s\`. |
+| 0A000 | 10030 | Can not drop schema \`%s\` because of contains tables. |
### 数据
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| HY004 | 11000 | Invalid value \`%s\` |
-| HY004 | 11001 | Unsupported conversion data type \`%s\` for value \`%s\` |
-| HY004 | 11010 | Unsupported conversion stream charset \`%s\` |
+| HY004 | 11000 | Invalid value \`%s\`. |
+| HY004 | 11001 | Unsupported conversion data type \`%s\` for value \`%s\`. |
+| HY004 | 11010 | Unsupported conversion stream charset \`%s\`. |
### 语法
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
| 42000 | 12000 | You have an error in your SQL syntax: %s |
-| 42000 | 12001 | Can not accept SQL type \`%s\` |
-| 42000 | 12002 | SQL String can not be NULL or empty |
-| 42000 | 12010 | Can not support variable \`%s\` |
-| 42S02 | 12011 | Can not find column label \`%s\` |
-| HV008 | 12020 | Column index \`%d\` is out of range |
-| 0A000 | 12100 | DROP TABLE ... CASCADE is not supported |
+| 42000 | 12001 | Can not accept SQL type \`%s\`. |
+| 42000 | 12002 | SQL String can not be NULL or empty. |
+| 42000 | 12010 | Can not support variable \`%s\`. |
+| 42S02 | 12011 | Can not find column label \`%s\`. |
+| HV008 | 12020 | Column index \`%d\` is out of range. |
+| 0A000 | 12100 | DROP TABLE ... CASCADE is not supported. |
### 连接
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
| 08000 | 13000 | Can not register driver, reason is: %s |
-| 01000 | 13010 | Circuit break open, the request has been ignored |
-| 08000 | 13020 | Can not get %d connections one time, partition succeed connection(%d) have released. Please consider increasing the \`maxPoolSize\` of the data sources or decreasing the \`max-connections-size-per-query\` in properties |
-| 08000 | 13030 | Connection has been closed |
-| 08000 | 13031 | Result set has been closed |
+| 01000 | 13010 | Circuit break open, the request has been ignored. |
+| 08000 | 13020 | Can not get %d connections one time, partition succeed connection(%d) have released. Please consider increasing the \`maxPoolSize\` of the data sources or decreasing the \`max-connections-size-per-query\` in properties. |
+| 08000 | 13030 | Connection has been closed. |
+| 08000 | 13031 | Result set has been closed. |
| HY000 | 13090 | Load datetime from database failed, reason: %s |
### 事务
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| 25000 | 14000 | Switch transaction type failed, please terminate the current transaction |
-| 25000 | 14100 | JDBC does not support operations across multiple logical databases in transaction |
-| 25000 | 14200 | Can not start new XA transaction in a active transaction |
-| 25000 | 14201 | Failed to create \`%s\` XA data source |
+| 25000 | 14000 | Switch transaction type failed, please terminate the current transaction. |
+| 25000 | 14100 | JDBC does not support operations across multiple logical databases in transaction. |
+| 25000 | 14200 | Can not start new XA transaction in a active transaction. |
+| 25000 | 14201 | Failed to create \`%s\` XA data source. |
### 锁
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| HY000 | 15000 | The table \`%s\` of schema \`%s\` is locked |
-| HY000 | 15001 | The table \`%s\` of schema \`%s\` lock wait timeout of \`%s\` milliseconds exceeded |
+| HY000 | 15000 | The table \`%s\` of schema \`%s\` is locked. |
+| HY000 | 15001 | The table \`%s\` of schema \`%s\` lock wait timeout of \`%s\` milliseconds exceeded. |
### 审计
@@ -82,8 +82,8 @@ SQL 错误码以标准的 SQL State,Vendor Code 和详细错误信息提供,
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| HY000 | 17000 | Work ID assigned failed, which can not exceed 1024 |
-| HY000 | 17001 | Can not find \`%s\` file for datetime initialize |
+| HY000 | 17000 | Work ID assigned failed, which can not exceed 1024. |
+| HY000 | 17001 | Can not find \`%s\` file for datetime initialize. |
| HY000 | 17002 | File access failed, reason is: %s |
| HY000 | 17010 | Cluster persist repository error, reason is: %s |
@@ -91,51 +91,51 @@ SQL 错误码以标准的 SQL State,Vendor Code 和详细错误信息提供,
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| 44000 | 18001 | Created process configuration already existed |
-| 44000 | 18002 | Altered process configuration does not exist |
-| HY000 | 18020 | Failed to get DDL for table \`%s\` |
-| 42S01 | 18030 | Duplicate resource names \`%s\` |
-| 42S02 | 18031 | Resource names \`%s\` do not exist |
-| HY000 | 18050 | Before data record is \`%s\`, after data record is \`%s\` |
-| 08000 | 18051 | Data check table \`%s\` failed |
-| 0A000 | 18052 | Unsupported pipeline database type \`%s\` |
-| 0A000 | 18053 | Unsupported CRC32 data consistency calculate algorithm with database type \`%s\` |
-| HY000 | 18080 | Can not find pipeline job \`%s\` |
-| HY000 | 18081 | Job has already started |
-| HY000 | 18082 | Sharding count of job \`%s\` is 0 |
-| HY000 | 18083 | Can not split range for table \`%s\`, reason: %s |
+| 44000 | 18001 | Created process configuration already existed. |
+| 44000 | 18002 | Altered process configuration does not exist. |
+| HY000 | 18020 | Failed to get DDL for table \`%s\`. |
+| 42S01 | 18030 | Duplicate resource names \`%s\`. |
+| 42S02 | 18031 | Resource names \`%s\` do not exist. |
+| HY000 | 18050 | Before data record is \`%s\`, after data record is \`%s\`. |
+| 08000 | 18051 | Data check table \`%s\` failed. |
+| 0A000 | 18052 | Unsupported pipeline database type \`%s\`. |
+| 0A000 | 18053 | Unsupported CRC32 data consistency calculate algorithm with database type \`%s\`. |
+| HY000 | 18080 | Can not find pipeline job \`%s\`. |
+| HY000 | 18081 | Job has already started. |
+| HY000 | 18082 | Sharding count of job \`%s\` is 0. |
+| HY000 | 18083 | Can not split by range for table \`%s\`, reason is: %s |
| HY000 | 18084 | Can not split by unique key \`%s\` for table \`%s\`, reason is: %s |
-| HY000 | 18085 | Target table \`%s\` is not empty |
-| 01007 | 18086 | Source data source lacks %s privilege(s) |
-| HY000 | 18087 | Source data source required \`%s = %s\`, now is \`%s\` |
-| HY000 | 18088 | User \`%s\` does exist |
+| HY000 | 18085 | Target table \`%s\` is not empty. |
+| 01007 | 18086 | Source data source lacks %s privilege(s). |
+| HY000 | 18087 | Source data source required \`%s = %s\`, now is \`%s\`. |
+| HY000 | 18088 | User \`%s\` does exist. |
| 08000 | 18089 | Check privileges failed on source data source, reason is: %s |
| 08000 | 18090 | Data sources can not connect, reason is: %s |
-| HY000 | 18091 | Importer job write data failed |
+| HY000 | 18091 | Importer job write data failed. |
| 08000 | 18092 | Get binlog position failed by job \`%s\`, reason is: %s |
-| HY000 | 18093 | Can not poll event because of binlog sync channel already closed |
-| HY000 | 18094 | Task \`%s\` execute failed |
-| HY000 | 18095 | Job has already finished, please run \`CHECK MIGRATION %s\` to start a new data consistency check job |
+| HY000 | 18093 | Can not poll event because of binlog sync channel already closed. |
+| HY000 | 18094 | Task \`%s\` execute failed. |
+| HY000 | 18095 | Job has already finished, please run \`CHECK MIGRATION %s\` to start a new data consistency check job. |
### DistSQL
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
| 44000 | 19000 | Can not process invalid resources, error message is: %s |
-| 44000 | 19001 | Resources \`%s\` do not exist in database \`%s\` |
-| 44000 | 19002 | There is no resource in the database \`%s\` |
-| 44000 | 19003 | Resource \`%s\` is still used by \`%s\` |
-| 44000 | 19004 | Duplicate resource names \`%s\` |
+| 44000 | 19001 | Resources \`%s\` do not exist in database \`%s\`. |
+| 44000 | 19002 | There is no resource in the database \`%s\`. |
+| 44000 | 19003 | Resource \`%s\` is still used by \`%s\`. |
+| 44000 | 19004 | Duplicate resource names \`%s\`. |
| 44000 | 19100 | Invalid \`%s\` rule \`%s\`, error message is: %s |
-| 44000 | 19101 | %s rules \`%s\` do not exist in database \`%s\` |
-| 44000 | 19102 | %s rules \`%s\` in database \`%s\` are still in used |
-| 44000 | 19103 | %s rule \`%s\` has been enabled in database \`%s\` |
-| 44000 | 19104 | %s rule \`%s\` has been disabled in database \`%s\` |
-| 44000 | 19105 | Duplicate %s rule names \`%s\` in database \`%s\` |
-| 44000 | 19150 | Invalid %s algorithm(s) \`%s\` |
-| 44000 | 19151 | %s algorithm(s) \`%s\` do not exist in database \`%s\` |
-| 44000 | 19152 | %s algorithms \`%s\` in database \`%s\` are still in used |
-| 44000 | 19153 | Duplicate %s algorithms \`%s\` in database \`%s\` |
+| 44000 | 19101 | %s rules \`%s\` do not exist in database \`%s\`. |
+| 44000 | 19102 | %s rules \`%s\` in database \`%s\` are still in used. |
+| 44000 | 19103 | %s rule \`%s\` has been enabled in database \`%s\`. |
+| 44000 | 19104 | %s rule \`%s\` has been disabled in database \`%s\`. |
+| 44000 | 19105 | Duplicate %s rule names \`%s\` in database \`%s\`. |
+| 44000 | 19150 | Invalid %s algorithm(s) \`%s\`. |
+| 44000 | 19151 | %s algorithm(s) \`%s\` do not exist in database \`%s\`. |
+| 44000 | 19152 | %s algorithms \`%s\` in database \`%s\` are still in used. |
+| 44000 | 19153 | Duplicate %s algorithms \`%s\` in database \`%s\`. |
## 功能异常
@@ -143,87 +143,87 @@ SQL 错误码以标准的 SQL State,Vendor Code 和详细错误信息提供,
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| 44000 | 20000 | Can not find table rule with logic tables \`%s\` |
+| 44000 | 20000 | Can not find table rule with logic tables \`%s\`. |
| 44000 | 20001 | Can not get uniformed table structure for logic table \`%s\`, it has different meta data of actual tables are as follows: %s |
-| 42S02 | 20002 | Can not find data source in sharding rule, invalid actual data node \`%s\` |
-| 44000 | 20003 | Data nodes must be configured for sharding table \`%s\` |
-| 44000 | 20004 | Actual table \`%s.%s\` is not in table rule configuration |
-| 44000 | 20005 | Can not find binding actual table, data source is \`%s\`, logic table is \`%s\`, other actual table is \`%s\` |
-| 44000 | 20006 | Actual tables \`%s\` are in use |
-| 42S01 | 20007 | Index \`%s\` already exists |
-| 42S02 | 20008 | Index \`%s\` does not exist |
-| 42S01 | 20009 | View name has to bind to %s tables |
-| 44000 | 20020 | Sharding value can't be null in insert statement |
-| HY004 | 20021 | Found different types for sharding value \`%s\` |
-| HY004 | 20022 | Invalid %s, datetime pattern should be \`%s\`, value is \`%s\` |
-| 0A000 | 20040 | Can not support operation \`%s\` with sharding table \`%s\` |
-| 44000 | 20041 | Can not update sharding value for table \`%s\` |
-| 0A000 | 20042 | The CREATE VIEW statement contains unsupported query statement |
-| 44000 | 20043 | PREPARE statement can not support sharding tables route to same data sources |
-| 44000 | 20044 | The table inserted and the table selected must be the same or bind tables |
-| 0A000 | 20045 | Can not support DML operation with multiple tables \`%s\` |
-| 42000 | 20046 | %s ... LIMIT can not support route to multiple data nodes |
-| 44000 | 20047 | Can not find actual data source intersection for logic tables \`%s\` |
-| 42000 | 20048 | INSERT INTO ... SELECT can not support applying key generator with absent generate key column |
-| 0A000 | 20049 | Alter view rename .. to .. statement should have same config for \`%s\` and \`%s\` |
-| HY000 | 20060 | \`%s %s\` can not route correctly for %s \`%s\` |
-| 42S02 | 20061 | Can not get route result, please check your sharding rule configuration |
-| 34000 | 20062 | Can not get cursor name from fetch statement |
-| HY000 | 20080 | Sharding algorithm class \`%s\` should be implement \`%s\` |
-| HY000 | 20081 | Routed target \`%s\` does not exist, available targets are \`%s\` |
-| 44000 | 20082 | Inline sharding algorithms expression \`%s\` and sharding column \`%s\` do not match |
-| 44000 | 20090 | Can not find strategy for generate keys with table \`%s\` |
+| 42S02 | 20002 | Can not find data source in sharding rule, invalid actual data node \`%s\`. |
+| 44000 | 20003 | Data nodes must be configured for sharding table \`%s\`. |
+| 44000 | 20004 | Actual table \`%s.%s\` is not in table rule configuration. |
+| 44000 | 20005 | Can not find binding actual table, data source is \`%s\`, logic table is \`%s\`, other actual table is \`%s\`. |
+| 44000 | 20006 | Actual tables \`%s\` are in use. |
+| 42S01 | 20007 | Index \`%s\` already exists. |
+| 42S02 | 20008 | Index \`%s\` does not exist. |
+| 42S01 | 20009 | View name has to bind to %s tables. |
+| 44000 | 20020 | Sharding value can't be null in insert statement. |
+| HY004 | 20021 | Found different types for sharding value \`%s\`. |
+| HY004 | 20022 | Invalid %s, datetime pattern should be \`%s\`, value is \`%s\`. |
+| 0A000 | 20040 | Can not support operation \`%s\` with sharding table \`%s\`. |
+| 44000 | 20041 | Can not update sharding value for table \`%s\`. |
+| 0A000 | 20042 | The CREATE VIEW statement contains unsupported query statement. |
+| 44000 | 20043 | PREPARE statement can not support sharding tables route to same data sources. |
+| 44000 | 20044 | The table inserted and the table selected must be the same or bind tables. |
+| 0A000 | 20045 | Can not support DML operation with multiple tables \`%s\`. |
+| 42000 | 20046 | %s ... LIMIT can not support route to multiple data nodes. |
+| 44000 | 20047 | Can not find actual data source intersection for logic tables \`%s\`. |
+| 42000 | 20048 | INSERT INTO ... SELECT can not support applying key generator with absent generate key column. |
+| 0A000 | 20049 | Alter view rename .. to .. statement should have same config for \`%s\` and \`%s\`. |
+| HY000 | 20060 | \`%s %s\` can not route correctly for %s \`%s\`. |
+| 42S02 | 20061 | Can not get route result, please check your sharding rule configuration. |
+| 34000 | 20062 | Can not get cursor name from fetch statement. |
+| HY000 | 20080 | Sharding algorithm class \`%s\` should be implement \`%s\`. |
+| HY000 | 20081 | Routed target \`%s\` does not exist, available targets are \`%s\`. |
+| 44000 | 20082 | Inline sharding algorithms expression \`%s\` and sharding column \`%s\` do not match. |
+| 44000 | 20090 | Can not find strategy for generate keys with table \`%s\`. |
### 读写分离
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| HY004 | 20280 | Invalid read database weight \`%s\` |
+| HY004 | 20280 | Invalid read database weight \`%s\`. |
### 数据库高可用
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| HY000 | 20380 | MGR plugin is not active in database \`%s\` |
-| 44000 | 20381 | MGR is not in single primary mode in database \`%s\` |
-| 44000 | 20382 | \`%s\` is not in MGR replication group member in database \`%s\` |
-| 44000 | 20383 | Group name in MGR is not same with configured one \`%s\` in database \`%s\` |
+| HY000 | 20380 | MGR plugin is not active in database \`%s\`. |
+| 44000 | 20381 | MGR is not in single primary mode in database \`%s\`. |
+| 44000 | 20382 | \`%s\` is not in MGR replication group member in database \`%s\`. |
+| 44000 | 20383 | Group name in MGR is not same with configured one \`%s\` in database \`%s\`. |
### SQL 方言转换
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| 42000 | 20440 | Can not support database \`%s\` in SQL translation |
+| 42000 | 20440 | Can not support database \`%s\` in SQL translation. |
| 42000 | 20441 | Translation error, SQL is: %s |
### 流量治理
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| 42S02 | 20500 | Can not get traffic execution unit |
+| 42S02 | 20500 | Can not get traffic execution unit. |
### 数据加密
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| 44000 | 20700 | Can not find logic encrypt column by \`%s\` |
-| 44000 | 20701 | Fail to find encrypt column \`%s\` from table \`%s\` |
-| 44000 | 20702 | Altered column \`%s\` must use same encrypt algorithm with previous column \`%s\` in table \`%s\` |
-| 42000 | 20740 | Insert value of index \`%s\` can not support for encrypt |
-| 0A000 | 20741 | The SQL clause \`%s\` is unsupported in encrypt rule |
+| 44000 | 20700 | Can not find logic encrypt column by \`%s\`. |
+| 44000 | 20701 | Fail to find encrypt column \`%s\` from table \`%s\`. |
+| 44000 | 20702 | Altered column \`%s\` must use same encrypt algorithm with previous column \`%s\` in table \`%s\`. |
+| 42000 | 20740 | Insert value of index \`%s\` can not support for encrypt. |
+| 0A000 | 20741 | The SQL clause \`%s\` is unsupported in encrypt rule. |
| HY004 | 20780 | Encrypt algorithm \`%s\` initialization failed, reason is: %s |
### 影子库
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
-| HY004 | 20820 | Shadow column \`%s\` of table \`%s\` does not support \`%s\` type |
-| 42000 | 20840 | Insert value of index \`%s\` can not support for shadow |
+| HY004 | 20820 | Shadow column \`%s\` of table \`%s\` does not support \`%s\` type. |
+| 42000 | 20840 | Insert value of index \`%s\` can not support for shadow. |
## 其他异常
| SQL State | Vendor Code | 错误信息 |
| --------- | ----------- | ------ |
| HY004 | 30000 | Unknown exception: %s |
-| 0A000 | 30001 | Unsupported operation: %s |
+| 0A000 | 30001 | Unsupported SQL operation: %s |
| 0A000 | 30002 | Unsupported command: %s |
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 4dea15e1dc9..b184294e867 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
@@ -14,63 +14,63 @@ SQL error codes provide by standard `SQL State`, `Vendor Code` and `Reason`, whi
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| 42000 | 10000 | Resource does not exist |
-| 08000 | 10001 | The URL \`%s\` is not recognized, please refer to the pattern \`%s\` |
-| 42000 | 10002 | Can not support 3-tier structure for actual data node \`%s\` with JDBC \`%s\` |
-| HY004 | 10003 | Invalid format for actual data node \`%s\` |
-| 42000 | 10004 | Unsupported SQL node conversion for SQL statement \`%s\` |
-| 42000 | 10010 | Rule does not exist |
-| 42S02 | 10020 | Schema \`%s\` does not exist |
-| 42S02 | 10021 | Single table \`%s\` does not exist |
-| HY000 | 10022 | Can not load table with database name \`%s\` and data source name \`%s\` |
-| 0A000 | 10030 | Can not drop schema \`%s\` because of contains tables |
+| 42000 | 10000 | Resource does not exist. |
+| 08000 | 10001 | The URL \`%s\` is not recognized, please refer to the pattern \`%s\`. |
+| 42000 | 10002 | Can not support 3-tier structure for actual data node \`%s\` with JDBC \`%s\`. |
+| HY004 | 10003 | Invalid format for actual data node \`%s\`. |
+| 42000 | 10004 | Unsupported SQL node conversion for SQL statement \`%s\`. |
+| 42000 | 10010 | Rule does not exist. |
+| 42S02 | 10020 | Schema \`%s\` does not exist. |
+| 42S02 | 10021 | Single table \`%s\` does not exist. |
+| HY000 | 10022 | Can not load table with database name \`%s\` and data source name \`%s\`. |
+| 0A000 | 10030 | Can not drop schema \`%s\` because of contains tables. |
### Data
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| HY004 | 11000 | Invalid value \`%s\` |
-| HY004 | 11001 | Unsupported conversion data type \`%s\` for value \`%s\` |
-| HY004 | 11010 | Unsupported conversion stream charset \`%s\` |
+| HY004 | 11000 | Invalid value \`%s\`. |
+| HY004 | 11001 | Unsupported conversion data type \`%s\` for value \`%s\`. |
+| HY004 | 11010 | Unsupported conversion stream charset \`%s\`. |
### Syntax
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
| 42000 | 12000 | You have an error in your SQL syntax: %s |
-| 42000 | 12001 | Can not accept SQL type \`%s\` |
-| 42000 | 12002 | SQL String can not be NULL or empty |
-| 42000 | 12010 | Can not support variable \`%s\` |
-| 42S02 | 12011 | Can not find column label \`%s\` |
-| HV008 | 12020 | Column index \`%d\` is out of range |
-| 0A000 | 12100 | DROP TABLE ... CASCADE is not supported |
+| 42000 | 12001 | Can not accept SQL type \`%s\`. |
+| 42000 | 12002 | SQL String can not be NULL or empty. |
+| 42000 | 12010 | Can not support variable \`%s\`. |
+| 42S02 | 12011 | Can not find column label \`%s\`. |
+| HV008 | 12020 | Column index \`%d\` is out of range. |
+| 0A000 | 12100 | DROP TABLE ... CASCADE is not supported. |
### Connection
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
| 08000 | 13000 | Can not register driver, reason is: %s |
-| 01000 | 13010 | Circuit break open, the request has been ignored |
-| 08000 | 13020 | Can not get %d connections one time, partition succeed connection(%d) have released. Please consider increasing the \`maxPoolSize\` of the data sources or decreasing the \`max-connections-size-per-query\` in properties |
-| 08000 | 13030 | Connection has been closed |
-| 08000 | 13031 | Result set has been closed |
+| 01000 | 13010 | Circuit break open, the request has been ignored. |
+| 08000 | 13020 | Can not get %d connections one time, partition succeed connection(%d) have released. Please consider increasing the \`maxPoolSize\` of the data sources or decreasing the \`max-connections-size-per-query\` in properties. |
+| 08000 | 13030 | Connection has been closed. |
+| 08000 | 13031 | Result set has been closed. |
| HY000 | 13090 | Load datetime from database failed, reason: %s |
### Transaction
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| 25000 | 14000 | Switch transaction type failed, please terminate the current transaction |
-| 25000 | 14100 | JDBC does not support operations across multiple logical databases in transaction |
-| 25000 | 14200 | Can not start new XA transaction in a active transaction |
-| 25000 | 14201 | Failed to create \`%s\` XA data source |
+| 25000 | 14000 | Switch transaction type failed, please terminate the current transaction. |
+| 25000 | 14100 | JDBC does not support operations across multiple logical databases in transaction. |
+| 25000 | 14200 | Can not start new XA transaction in a active transaction. |
+| 25000 | 14201 | Failed to create \`%s\` XA data source. |
### Lock
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| HY000 | 15000 | The table \`%s\` of schema \`%s\` is locked |
-| HY000 | 15001 | The table \`%s\` of schema \`%s\` lock wait timeout of \`%s\` milliseconds exceeded |
+| HY000 | 15000 | The table \`%s\` of schema \`%s\` is locked. |
+| HY000 | 15001 | The table \`%s\` of schema \`%s\` lock wait timeout of \`%s\` milliseconds exceeded. |
### Audit
@@ -82,8 +82,8 @@ SQL error codes provide by standard `SQL State`, `Vendor Code` and `Reason`, whi
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| HY000 | 17000 | Work ID assigned failed, which can not exceed 1024 |
-| HY000 | 17001 | Can not find \`%s\` file for datetime initialize |
+| HY000 | 17000 | Work ID assigned failed, which can not exceed 1024. |
+| HY000 | 17001 | Can not find \`%s\` file for datetime initialize. |
| HY000 | 17002 | File access failed, reason is: %s |
| HY000 | 17010 | Cluster persist repository error, reason is: %s |
@@ -91,51 +91,51 @@ SQL error codes provide by standard `SQL State`, `Vendor Code` and `Reason`, whi
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| 44000 | 18001 | Created process configuration already existed |
-| 44000 | 18002 | Altered process configuration does not exist |
-| HY000 | 18020 | Failed to get DDL for table \`%s\` |
-| 42S01 | 18030 | Duplicate resource names \`%s\` |
-| 42S02 | 18031 | Resource names \`%s\` do not exist |
-| HY000 | 18050 | Before data record is \`%s\`, after data record is \`%s\` |
-| 08000 | 18051 | Data check table \`%s\` failed |
-| 0A000 | 18052 | Unsupported pipeline database type \`%s\` |
-| 0A000 | 18053 | Unsupported CRC32 data consistency calculate algorithm with database type \`%s\` |
-| HY000 | 18080 | Can not find pipeline job \`%s\` |
-| HY000 | 18081 | Job has already started |
-| HY000 | 18082 | Sharding count of job \`%s\` is 0 |
-| HY000 | 18083 | Can not split range for table \`%s\`, reason: %s |
+| 44000 | 18001 | Created process configuration already existed. |
+| 44000 | 18002 | Altered process configuration does not exist. |
+| HY000 | 18020 | Failed to get DDL for table \`%s\`. |
+| 42S01 | 18030 | Duplicate resource names \`%s\`. |
+| 42S02 | 18031 | Resource names \`%s\` do not exist. |
+| HY000 | 18050 | Before data record is \`%s\`, after data record is \`%s\`. |
+| 08000 | 18051 | Data check table \`%s\` failed. |
+| 0A000 | 18052 | Unsupported pipeline database type \`%s\`. |
+| 0A000 | 18053 | Unsupported CRC32 data consistency calculate algorithm with database type \`%s\`. |
+| HY000 | 18080 | Can not find pipeline job \`%s\`. |
+| HY000 | 18081 | Job has already started. |
+| HY000 | 18082 | Sharding count of job \`%s\` is 0. |
+| HY000 | 18083 | Can not split by range for table \`%s\`, reason is: %s |
| HY000 | 18084 | Can not split by unique key \`%s\` for table \`%s\`, reason is: %s |
-| HY000 | 18085 | Target table \`%s\` is not empty |
-| 01007 | 18086 | Source data source lacks %s privilege(s) |
-| HY000 | 18087 | Source data source required \`%s = %s\`, now is \`%s\` |
-| HY000 | 18088 | User \`%s\` does exist |
+| HY000 | 18085 | Target table \`%s\` is not empty. |
+| 01007 | 18086 | Source data source lacks %s privilege(s). |
+| HY000 | 18087 | Source data source required \`%s = %s\`, now is \`%s\`. |
+| HY000 | 18088 | User \`%s\` does exist. |
| 08000 | 18089 | Check privileges failed on source data source, reason is: %s |
| 08000 | 18090 | Data sources can not connect, reason is: %s |
-| HY000 | 18091 | Importer job write data failed |
+| HY000 | 18091 | Importer job write data failed. |
| 08000 | 18092 | Get binlog position failed by job \`%s\`, reason is: %s |
-| HY000 | 18093 | Can not poll event because of binlog sync channel already closed |
-| HY000 | 18094 | Task \`%s\` execute failed |
-| HY000 | 18095 | Job has already finished, please run \`CHECK MIGRATION %s\` to start a new data consistency check job |
+| HY000 | 18093 | Can not poll event because of binlog sync channel already closed. |
+| HY000 | 18094 | Task \`%s\` execute failed. |
+| HY000 | 18095 | Job has already finished, please run \`CHECK MIGRATION %s\` to start a new data consistency check job. |
### DistSQL
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
| 44000 | 19000 | Can not process invalid resources, error message is: %s |
-| 44000 | 19001 | Resources \`%s\` do not exist in database \`%s\` |
-| 44000 | 19002 | There is no resource in the database \`%s\` |
-| 44000 | 19003 | Resource \`%s\` is still used by \`%s\` |
-| 44000 | 19004 | Duplicate resource names \`%s\` |
+| 44000 | 19001 | Resources \`%s\` do not exist in database \`%s\`. |
+| 44000 | 19002 | There is no resource in the database \`%s\`. |
+| 44000 | 19003 | Resource \`%s\` is still used by \`%s\`. |
+| 44000 | 19004 | Duplicate resource names \`%s\`. |
| 44000 | 19100 | Invalid \`%s\` rule \`%s\`, error message is: %s |
-| 44000 | 19101 | %s rules \`%s\` do not exist in database \`%s\` |
-| 44000 | 19102 | %s rules \`%s\` in database \`%s\` are still in used |
-| 44000 | 19103 | %s rule \`%s\` has been enabled in database \`%s\` |
-| 44000 | 19104 | %s rule \`%s\` has been disabled in database \`%s\` |
-| 44000 | 19105 | Duplicate %s rule names \`%s\` in database \`%s\` |
-| 44000 | 19150 | Invalid %s algorithm(s) \`%s\` |
-| 44000 | 19151 | %s algorithm(s) \`%s\` do not exist in database \`%s\` |
-| 44000 | 19152 | %s algorithms \`%s\` in database \`%s\` are still in used |
-| 44000 | 19153 | Duplicate %s algorithms \`%s\` in database \`%s\` |
+| 44000 | 19101 | %s rules \`%s\` do not exist in database \`%s\`. |
+| 44000 | 19102 | %s rules \`%s\` in database \`%s\` are still in used. |
+| 44000 | 19103 | %s rule \`%s\` has been enabled in database \`%s\`. |
+| 44000 | 19104 | %s rule \`%s\` has been disabled in database \`%s\`. |
+| 44000 | 19105 | Duplicate %s rule names \`%s\` in database \`%s\`. |
+| 44000 | 19150 | Invalid %s algorithm(s) \`%s\`. |
+| 44000 | 19151 | %s algorithm(s) \`%s\` do not exist in database \`%s\`. |
+| 44000 | 19152 | %s algorithms \`%s\` in database \`%s\` are still in used. |
+| 44000 | 19153 | Duplicate %s algorithms \`%s\` in database \`%s\`. |
## Feature Exception
@@ -143,87 +143,87 @@ SQL error codes provide by standard `SQL State`, `Vendor Code` and `Reason`, whi
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| 44000 | 20000 | Can not find table rule with logic tables \`%s\` |
+| 44000 | 20000 | Can not find table rule with logic tables \`%s\`. |
| 44000 | 20001 | Can not get uniformed table structure for logic table \`%s\`, it has different meta data of actual tables are as follows: %s |
-| 42S02 | 20002 | Can not find data source in sharding rule, invalid actual data node \`%s\` |
-| 44000 | 20003 | Data nodes must be configured for sharding table \`%s\` |
-| 44000 | 20004 | Actual table \`%s.%s\` is not in table rule configuration |
-| 44000 | 20005 | Can not find binding actual table, data source is \`%s\`, logic table is \`%s\`, other actual table is \`%s\` |
-| 44000 | 20006 | Actual tables \`%s\` are in use |
-| 42S01 | 20007 | Index \`%s\` already exists |
-| 42S02 | 20008 | Index \`%s\` does not exist |
-| 42S01 | 20009 | View name has to bind to %s tables |
-| 44000 | 20020 | Sharding value can't be null in insert statement |
-| HY004 | 20021 | Found different types for sharding value \`%s\` |
-| HY004 | 20022 | Invalid %s, datetime pattern should be \`%s\`, value is \`%s\` |
-| 0A000 | 20040 | Can not support operation \`%s\` with sharding table \`%s\` |
-| 44000 | 20041 | Can not update sharding value for table \`%s\` |
-| 0A000 | 20042 | The CREATE VIEW statement contains unsupported query statement |
-| 44000 | 20043 | PREPARE statement can not support sharding tables route to same data sources |
-| 44000 | 20044 | The table inserted and the table selected must be the same or bind tables |
-| 0A000 | 20045 | Can not support DML operation with multiple tables \`%s\` |
-| 42000 | 20046 | %s ... LIMIT can not support route to multiple data nodes |
-| 44000 | 20047 | Can not find actual data source intersection for logic tables \`%s\` |
-| 42000 | 20048 | INSERT INTO ... SELECT can not support applying key generator with absent generate key column |
-| 0A000 | 20049 | Alter view rename .. to .. statement should have same config for \`%s\` and \`%s\` |
-| HY000 | 20060 | \`%s %s\` can not route correctly for %s \`%s\` |
-| 42S02 | 20061 | Can not get route result, please check your sharding rule configuration |
-| 34000 | 20062 | Can not get cursor name from fetch statement |
-| HY000 | 20080 | Sharding algorithm class \`%s\` should be implement \`%s\` |
-| HY000 | 20081 | Routed target \`%s\` does not exist, available targets are \`%s\` |
-| 44000 | 20082 | Inline sharding algorithms expression \`%s\` and sharding column \`%s\` do not match |
-| 44000 | 20090 | Can not find strategy for generate keys with table \`%s\` |
+| 42S02 | 20002 | Can not find data source in sharding rule, invalid actual data node \`%s\`. |
+| 44000 | 20003 | Data nodes must be configured for sharding table \`%s\`. |
+| 44000 | 20004 | Actual table \`%s.%s\` is not in table rule configuration. |
+| 44000 | 20005 | Can not find binding actual table, data source is \`%s\`, logic table is \`%s\`, other actual table is \`%s\`. |
+| 44000 | 20006 | Actual tables \`%s\` are in use. |
+| 42S01 | 20007 | Index \`%s\` already exists. |
+| 42S02 | 20008 | Index \`%s\` does not exist. |
+| 42S01 | 20009 | View name has to bind to %s tables. |
+| 44000 | 20020 | Sharding value can't be null in insert statement. |
+| HY004 | 20021 | Found different types for sharding value \`%s\`. |
+| HY004 | 20022 | Invalid %s, datetime pattern should be \`%s\`, value is \`%s\`. |
+| 0A000 | 20040 | Can not support operation \`%s\` with sharding table \`%s\`. |
+| 44000 | 20041 | Can not update sharding value for table \`%s\`. |
+| 0A000 | 20042 | The CREATE VIEW statement contains unsupported query statement. |
+| 44000 | 20043 | PREPARE statement can not support sharding tables route to same data sources. |
+| 44000 | 20044 | The table inserted and the table selected must be the same or bind tables. |
+| 0A000 | 20045 | Can not support DML operation with multiple tables \`%s\`. |
+| 42000 | 20046 | %s ... LIMIT can not support route to multiple data nodes. |
+| 44000 | 20047 | Can not find actual data source intersection for logic tables \`%s\`. |
+| 42000 | 20048 | INSERT INTO ... SELECT can not support applying key generator with absent generate key column. |
+| 0A000 | 20049 | Alter view rename .. to .. statement should have same config for \`%s\` and \`%s\`. |
+| HY000 | 20060 | \`%s %s\` can not route correctly for %s \`%s\`. |
+| 42S02 | 20061 | Can not get route result, please check your sharding rule configuration. |
+| 34000 | 20062 | Can not get cursor name from fetch statement. |
+| HY000 | 20080 | Sharding algorithm class \`%s\` should be implement \`%s\`. |
+| HY000 | 20081 | Routed target \`%s\` does not exist, available targets are \`%s\`. |
+| 44000 | 20082 | Inline sharding algorithms expression \`%s\` and sharding column \`%s\` do not match. |
+| 44000 | 20090 | Can not find strategy for generate keys with table \`%s\`. |
### Readwrite Splitting
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| HY004 | 20280 | Invalid read database weight \`%s\` |
+| HY004 | 20280 | Invalid read database weight \`%s\`. |
### Database HA
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| HY000 | 20380 | MGR plugin is not active in database \`%s\` |
-| 44000 | 20381 | MGR is not in single primary mode in database \`%s\` |
-| 44000 | 20382 | \`%s\` is not in MGR replication group member in database \`%s\` |
-| 44000 | 20383 | Group name in MGR is not same with configured one \`%s\` in database \`%s\` |
+| HY000 | 20380 | MGR plugin is not active in database \`%s\`. |
+| 44000 | 20381 | MGR is not in single primary mode in database \`%s\`. |
+| 44000 | 20382 | \`%s\` is not in MGR replication group member in database \`%s\`. |
+| 44000 | 20383 | Group name in MGR is not same with configured one \`%s\` in database \`%s\`. |
### SQL Dialect Translator
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| 42000 | 20440 | Can not support database \`%s\` in SQL translation |
+| 42000 | 20440 | Can not support database \`%s\` in SQL translation. |
| 42000 | 20441 | Translation error, SQL is: %s |
### Traffic Management
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| 42S02 | 20500 | Can not get traffic execution unit |
+| 42S02 | 20500 | Can not get traffic execution unit. |
### Data Encrypt
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| 44000 | 20700 | Can not find logic encrypt column by \`%s\` |
-| 44000 | 20701 | Fail to find encrypt column \`%s\` from table \`%s\` |
-| 44000 | 20702 | Altered column \`%s\` must use same encrypt algorithm with previous column \`%s\` in table \`%s\` |
-| 42000 | 20740 | Insert value of index \`%s\` can not support for encrypt |
-| 0A000 | 20741 | The SQL clause \`%s\` is unsupported in encrypt rule |
+| 44000 | 20700 | Can not find logic encrypt column by \`%s\`. |
+| 44000 | 20701 | Fail to find encrypt column \`%s\` from table \`%s\`. |
+| 44000 | 20702 | Altered column \`%s\` must use same encrypt algorithm with previous column \`%s\` in table \`%s\`. |
+| 42000 | 20740 | Insert value of index \`%s\` can not support for encrypt. |
+| 0A000 | 20741 | The SQL clause \`%s\` is unsupported in encrypt rule. |
| HY004 | 20780 | Encrypt algorithm \`%s\` initialization failed, reason is: %s |
### Shadow Database
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
-| HY004 | 20820 | Shadow column \`%s\` of table \`%s\` does not support \`%s\` type |
-| 42000 | 20840 | Insert value of index \`%s\` can not support for shadow |
+| HY004 | 20820 | Shadow column \`%s\` of table \`%s\` does not support \`%s\` type. |
+| 42000 | 20840 | Insert value of index \`%s\` can not support for shadow. |
## Other Exception
| SQL State | Vendor Code | Reason |
| --------- | ----------- | ------ |
| HY004 | 30000 | Unknown exception: %s |
-| 0A000 | 30001 | Unsupported operation: %s |
+| 0A000 | 30001 | Unsupported SQL operation: %s |
| 0A000 | 30002 | Unsupported command: %s |
diff --git a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRGroupNameConfigurationException.java b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRGroupNameConfigurationException.java
index e53f771a297..b5ea707c299 100644
--- a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRGroupNameConfigurationException.java
+++ b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRGroupNameConfigurationException.java
@@ -28,6 +28,6 @@ public final class InvalidMGRGroupNameConfigurationException extends DBDiscovery
private static final long serialVersionUID = -2585442998454509788L;
public InvalidMGRGroupNameConfigurationException(final String groupName, final String databaseName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 83, "Group name in MGR is not same with configured one `%s` in database `%s`", groupName, databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 83, "Group name in MGR is not same with configured one `%s` in database `%s`.", groupName, databaseName);
}
}
diff --git a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRModeException.java b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRModeException.java
index 635fb6a7070..99fe64a8c1a 100644
--- a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRModeException.java
+++ b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRModeException.java
@@ -28,6 +28,6 @@ public final class InvalidMGRModeException extends DBDiscoverySQLException {
private static final long serialVersionUID = -2190741601319220590L;
public InvalidMGRModeException(final String databaseName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 81, "MGR is not in single primary mode in database `%s`", databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 81, "MGR is not in single primary mode in database `%s`.", databaseName);
}
}
diff --git a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRPluginException.java b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRPluginException.java
index 012fcec3894..943ae8aedfa 100644
--- a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRPluginException.java
+++ b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRPluginException.java
@@ -28,6 +28,6 @@ public final class InvalidMGRPluginException extends DBDiscoverySQLException {
private static final long serialVersionUID = 1703082683321097037L;
public InvalidMGRPluginException(final String databaseName) {
- super(XOpenSQLState.GENERAL_ERROR, 80, "MGR plugin is not active in database `%s`", databaseName);
+ super(XOpenSQLState.GENERAL_ERROR, 80, "MGR plugin is not active in database `%s`.", databaseName);
}
}
diff --git a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRReplicationGroupMemberException.java b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRReplicationGroupMemberException.java
index bcb834e7e39..48fa6e52efd 100644
--- a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRReplicationGroupMemberException.java
+++ b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-provider/shardingsphere-db-discovery-mysql/src/main/java/org/apache/shardingsphere/dbdiscovery/mysql/exception/mgr/InvalidMGRReplicationGroupMemberException.java
@@ -28,6 +28,6 @@ public final class InvalidMGRReplicationGroupMemberException extends DBDiscovery
private static final long serialVersionUID = 3766206496827463146L;
public InvalidMGRReplicationGroupMemberException(final String url, final String databaseName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 82, "`%s` is not in MGR replication group member in database `%s`", url, databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 82, "`%s` is not in MGR replication group member in database `%s`.", url, databaseName);
}
}
diff --git a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptColumnAlterException.java b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptColumnAlterException.java
index 558f1323853..5dbb029ea2f 100644
--- a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptColumnAlterException.java
+++ b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptColumnAlterException.java
@@ -28,6 +28,6 @@ public final class EncryptColumnAlterException extends EncryptSQLException {
private static final long serialVersionUID = -8920381230872401155L;
public EncryptColumnAlterException(final String table, final String alteredColumn, final String previousColumn) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 2, "Altered column `%s` must use same encrypt algorithm with previous column `%s` in table `%s`", alteredColumn, previousColumn, table);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 2, "Altered column `%s` must use same encrypt algorithm with previous column `%s` in table `%s`.", alteredColumn, previousColumn, table);
}
}
diff --git a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptColumnNotFoundException.java b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptColumnNotFoundException.java
index 9a76427fe2c..6ffe572314a 100644
--- a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptColumnNotFoundException.java
+++ b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptColumnNotFoundException.java
@@ -28,6 +28,6 @@ public final class EncryptColumnNotFoundException extends EncryptSQLException {
private static final long serialVersionUID = -8481487069938556675L;
public EncryptColumnNotFoundException(final String tableName, final String columnName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 1, "Fail to find encrypt column `%s` from table `%s`", columnName, tableName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 1, "Fail to find encrypt column `%s` from table `%s`.", columnName, tableName);
}
}
diff --git a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptLogicColumnNotFoundException.java b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptLogicColumnNotFoundException.java
index b32a015682c..ac642131477 100644
--- a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptLogicColumnNotFoundException.java
+++ b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/metadata/EncryptLogicColumnNotFoundException.java
@@ -28,6 +28,6 @@ public final class EncryptLogicColumnNotFoundException extends EncryptSQLExcepti
private static final long serialVersionUID = 3934531389314348880L;
public EncryptLogicColumnNotFoundException(final String actualColumn) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 0, "Can not find logic encrypt column by `%s`", actualColumn);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 0, "Can not find logic encrypt column by `%s`.", actualColumn);
}
}
diff --git a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/syntax/UnsupportedEncryptInsertValueException.java b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/syntax/UnsupportedEncryptInsertValueException.java
index 38d717cd49f..8a72fc3ed95 100644
--- a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/syntax/UnsupportedEncryptInsertValueException.java
+++ b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/syntax/UnsupportedEncryptInsertValueException.java
@@ -28,6 +28,6 @@ public final class UnsupportedEncryptInsertValueException extends EncryptSQLExce
private static final long serialVersionUID = 5004882561157380582L;
public UnsupportedEncryptInsertValueException(final int columnIndex) {
- super(XOpenSQLState.SYNTAX_ERROR, 40, "Insert value of index `%s` can not support for encrypt", String.valueOf(columnIndex));
+ super(XOpenSQLState.SYNTAX_ERROR, 40, "Insert value of index `%s` can not support for encrypt.", String.valueOf(columnIndex));
}
}
diff --git a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/syntax/UnsupportedEncryptSQLException.java b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/syntax/UnsupportedEncryptSQLException.java
index 3debc5c5205..f60b23bc88b 100644
--- a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/syntax/UnsupportedEncryptSQLException.java
+++ b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/exception/syntax/UnsupportedEncryptSQLException.java
@@ -28,6 +28,6 @@ public final class UnsupportedEncryptSQLException extends EncryptSQLException {
private static final long serialVersionUID = 8391663664617661217L;
public UnsupportedEncryptSQLException(final String sqlClause) {
- super(XOpenSQLState.SYNTAX_ERROR, 41, "The SQL clause `%s` is unsupported in encrypt rule", sqlClause);
+ super(XOpenSQLState.SYNTAX_ERROR, 41, "The SQL clause `%s` is unsupported in encrypt rule.", sqlClause);
}
}
diff --git a/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-core/src/main/java/org/apache/shardingsphere/readwritesplitting/exception/algorithm/InvalidReadDatabaseWeightException.java b/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-core/src/main/java/org/apache/shardingsphere/readwritesplitting/exception/algorithm/InvalidReadDatabaseWeightException.java
index 7bb8844f877..122931544e3 100644
--- a/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-core/src/main/java/org/apache/shardingsphere/readwritesplitting/exception/algorithm/InvalidReadDatabaseWeightException.java
+++ b/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-core/src/main/java/org/apache/shardingsphere/readwritesplitting/exception/algorithm/InvalidReadDatabaseWeightException.java
@@ -28,6 +28,6 @@ public final class InvalidReadDatabaseWeightException extends ReadwriteSplitting
private static final long serialVersionUID = -846600820893274188L;
public InvalidReadDatabaseWeightException(final Object weight) {
- super(XOpenSQLState.INVALID_DATA_TYPE, 80, "Invalid read database weight `%s`", weight);
+ super(XOpenSQLState.INVALID_DATA_TYPE, 80, "Invalid read database weight `%s`.", weight);
}
}
diff --git a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/exception/data/UnsupportedShadowColumnTypeException.java b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/exception/data/UnsupportedShadowColumnTypeException.java
index 48b229bebce..77c6d964856 100644
--- a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/exception/data/UnsupportedShadowColumnTypeException.java
+++ b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/exception/data/UnsupportedShadowColumnTypeException.java
@@ -28,6 +28,6 @@ public final class UnsupportedShadowColumnTypeException extends ShadowSQLExcepti
private static final long serialVersionUID = 8144277065388645946L;
public UnsupportedShadowColumnTypeException(final String tableName, final String columnName, final Class<?> type) {
- super(XOpenSQLState.INVALID_DATA_TYPE, 20, "Shadow column `%s` of table `%s` does not support `%s` type", columnName, tableName, type.getName());
+ super(XOpenSQLState.INVALID_DATA_TYPE, 20, "Shadow column `%s` of table `%s` does not support `%s` type.", columnName, tableName, type.getName());
}
}
diff --git a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/exception/syntax/UnsupportedShadowInsertValueException.java b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/exception/syntax/UnsupportedShadowInsertValueException.java
index ea142f28cc3..90ddbc68f4e 100644
--- a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/exception/syntax/UnsupportedShadowInsertValueException.java
+++ b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-core/src/main/java/org/apache/shardingsphere/shadow/exception/syntax/UnsupportedShadowInsertValueException.java
@@ -28,6 +28,6 @@ public final class UnsupportedShadowInsertValueException extends ShadowSQLExcept
private static final long serialVersionUID = -5987403907441367171L;
public UnsupportedShadowInsertValueException(final int columnIndex) {
- super(XOpenSQLState.SYNTAX_ERROR, 40, "Insert value of index `%s` can not support for shadow", String.valueOf(columnIndex));
+ super(XOpenSQLState.SYNTAX_ERROR, 40, "Insert value of index `%s` can not support for shadow.", String.valueOf(columnIndex));
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/GenerateKeyStrategyNotFoundException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/GenerateKeyStrategyNotFoundException.java
index 614a5ea82a2..56601133210 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/GenerateKeyStrategyNotFoundException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/GenerateKeyStrategyNotFoundException.java
@@ -28,6 +28,6 @@ public final class GenerateKeyStrategyNotFoundException extends ShardingSQLExcep
private static final long serialVersionUID = 7456922260524630374L;
public GenerateKeyStrategyNotFoundException(final String tableName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 90, "Can not find strategy for generate keys with table `%s`", tableName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 90, "Can not find strategy for generate keys with table `%s`.", tableName);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/MismatchedInlineShardingAlgorithmExpressionAndColumnException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/MismatchedInlineShardingAlgorithmExpressionAndColumnException.java
index c3905190fe2..d21c029ad70 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/MismatchedInlineShardingAlgorithmExpressionAndColumnException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/MismatchedInlineShardingAlgorithmExpressionAndColumnException.java
@@ -28,6 +28,6 @@ public final class MismatchedInlineShardingAlgorithmExpressionAndColumnException
private static final long serialVersionUID = 1306301016127278233L;
public MismatchedInlineShardingAlgorithmExpressionAndColumnException(final String algorithmExpression, final String columnName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 82, "Inline sharding algorithms expression `%s` and sharding column `%s` do not match", algorithmExpression, columnName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 82, "Inline sharding algorithms expression `%s` and sharding column `%s` do not match.", algorithmExpression, columnName);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/ShardingAlgorithmClassImplementationException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/ShardingAlgorithmClassImplementationException.java
index 6ad35a76294..259995b57ab 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/ShardingAlgorithmClassImplementationException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/ShardingAlgorithmClassImplementationException.java
@@ -28,6 +28,6 @@ public final class ShardingAlgorithmClassImplementationException extends Shardin
private static final long serialVersionUID = 3053033454701332815L;
public ShardingAlgorithmClassImplementationException(final String shardingAlgorithmClassName, final Class<?> superShardingAlgorithmClass) {
- super(XOpenSQLState.GENERAL_ERROR, 80, "Sharding algorithm class `%s` should be implement `%s`", shardingAlgorithmClassName, superShardingAlgorithmClass.getName());
+ super(XOpenSQLState.GENERAL_ERROR, 80, "Sharding algorithm class `%s` should be implement `%s`.", shardingAlgorithmClassName, superShardingAlgorithmClass.getName());
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/ShardingRouteAlgorithmException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/ShardingRouteAlgorithmException.java
index b3c19506773..3e91c6d11dc 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/ShardingRouteAlgorithmException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/algorithm/ShardingRouteAlgorithmException.java
@@ -30,6 +30,6 @@ public final class ShardingRouteAlgorithmException extends ShardingSQLException
private static final long serialVersionUID = -1935526748399934543L;
public ShardingRouteAlgorithmException(final String routedTargetName, final Collection<String> availableTargetNames) {
- super(XOpenSQLState.GENERAL_ERROR, 81, "Routed target `%s` does not exist, available targets are `%s`", routedTargetName, availableTargetNames.toString());
+ super(XOpenSQLState.GENERAL_ERROR, 81, "Routed target `%s` does not exist, available targets are `%s`.", routedTargetName, availableTargetNames.toString());
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/CursorNameNotFoundException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/CursorNameNotFoundException.java
index b930df4ee49..27d428defeb 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/CursorNameNotFoundException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/CursorNameNotFoundException.java
@@ -28,6 +28,6 @@ public final class CursorNameNotFoundException extends ShardingSQLException {
private static final long serialVersionUID = 3124329832945598311L;
public CursorNameNotFoundException() {
- super(XOpenSQLState.INVALID_CURSOR_NAME, 62, "Can not get cursor name from fetch statement");
+ super(XOpenSQLState.INVALID_CURSOR_NAME, 62, "Can not get cursor name from fetch statement.");
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/EmptyShardingRouteResultException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/EmptyShardingRouteResultException.java
index e37bafe0ec4..900384dddee 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/EmptyShardingRouteResultException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/EmptyShardingRouteResultException.java
@@ -28,6 +28,6 @@ public final class EmptyShardingRouteResultException extends ShardingSQLExceptio
private static final long serialVersionUID = -6548076668933945656L;
public EmptyShardingRouteResultException() {
- super(XOpenSQLState.NOT_FOUND, 61, "Can not get route result, please check your sharding rule configuration");
+ super(XOpenSQLState.NOT_FOUND, 61, "Can not get route result, please check your sharding rule configuration.");
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/ShardingDDLRouteException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/ShardingDDLRouteException.java
index 61856f52957..70772b81cc7 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/ShardingDDLRouteException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/connection/ShardingDDLRouteException.java
@@ -30,6 +30,6 @@ public final class ShardingDDLRouteException extends ShardingSQLException {
private static final long serialVersionUID = 1611718269096645289L;
public ShardingDDLRouteException(final String operation, final String objectType, final Collection<String> objectNames) {
- super(XOpenSQLState.GENERAL_ERROR, 60, "`%s %s` can not route correctly for %s `%s`", operation, objectType, objectType, objectNames.toString());
+ super(XOpenSQLState.GENERAL_ERROR, 60, "`%s %s` can not route correctly for %s `%s`.", operation, objectType, objectType, objectNames.toString());
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/InvalidDatetimeFormatException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/InvalidDatetimeFormatException.java
index 7d617cb6f1e..5aa4d7dd1b9 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/InvalidDatetimeFormatException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/InvalidDatetimeFormatException.java
@@ -28,6 +28,6 @@ public final class InvalidDatetimeFormatException extends ShardingSQLException {
private static final long serialVersionUID = 4472952142748467059L;
public InvalidDatetimeFormatException(final String dateTimeKey, final String dateTimeValue, final String dateTimePattern) {
- super(XOpenSQLState.INVALID_DATA_TYPE, 22, "Invalid %s, datetime pattern should be `%s`, value is `%s`", dateTimeKey, dateTimePattern, dateTimeValue);
+ super(XOpenSQLState.INVALID_DATA_TYPE, 22, "Invalid %s, datetime pattern should be `%s`, value is `%s`.", dateTimeKey, dateTimePattern, dateTimeValue);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/NullShardingValueException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/NullShardingValueException.java
index 30aef2c3ce1..6297572eb7f 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/NullShardingValueException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/NullShardingValueException.java
@@ -28,6 +28,6 @@ public final class NullShardingValueException extends ShardingSQLException {
private static final long serialVersionUID = -6223086772479822057L;
public NullShardingValueException() {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 20, "Sharding value can't be null in insert statement");
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 20, "Sharding value can't be null in insert statement.");
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/ShardingValueDataTypeException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/ShardingValueDataTypeException.java
index 21a0725b753..fd8551b23da 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/ShardingValueDataTypeException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/data/ShardingValueDataTypeException.java
@@ -29,6 +29,6 @@ public final class ShardingValueDataTypeException extends ShardingSQLException {
private static final long serialVersionUID = -4833106947304679015L;
public ShardingValueDataTypeException(final Column column) {
- super(XOpenSQLState.INVALID_DATA_TYPE, 21, "Found different types for sharding value `%s`", column.toString());
+ super(XOpenSQLState.INVALID_DATA_TYPE, 21, "Found different types for sharding value `%s`.", column.toString());
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/ActualTableNotFoundException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/ActualTableNotFoundException.java
index 5e4523c8b16..0cd3b295b8a 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/ActualTableNotFoundException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/ActualTableNotFoundException.java
@@ -28,6 +28,6 @@ public final class ActualTableNotFoundException extends ShardingSQLException {
private static final long serialVersionUID = -5008645813201488531L;
public ActualTableNotFoundException(final String dataSourceName, final String tableName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 4, "Actual table `%s.%s` is not in table rule configuration", dataSourceName, tableName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 4, "Actual table `%s.%s` is not in table rule configuration.", dataSourceName, tableName);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/BindingTableNotFoundException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/BindingTableNotFoundException.java
index bfddd2e2a11..97b335560b8 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/BindingTableNotFoundException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/BindingTableNotFoundException.java
@@ -29,6 +29,6 @@ public final class BindingTableNotFoundException extends ShardingSQLException {
public BindingTableNotFoundException(final String dataSource, final String logicTable, final String otherActualTable) {
super(XOpenSQLState.CHECK_OPTION_VIOLATION, 5,
- "Can not find binding actual table, data source is `%s`, logic table is `%s`, other actual table is `%s`", dataSource, logicTable, otherActualTable);
+ "Can not find binding actual table, data source is `%s`, logic table is `%s`, other actual table is `%s`.", dataSource, logicTable, otherActualTable);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DataNodeGenerateException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DataNodeGenerateException.java
index 65365968c40..f3b3ac89758 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DataNodeGenerateException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DataNodeGenerateException.java
@@ -28,6 +28,6 @@ public final class DataNodeGenerateException extends ShardingSQLException {
private static final long serialVersionUID = -1000865538051567910L;
public DataNodeGenerateException(final String dataNode) {
- super(XOpenSQLState.NOT_FOUND, 2, "Can not find data source in sharding rule, invalid actual data node `%s`", dataNode);
+ super(XOpenSQLState.NOT_FOUND, 2, "Can not find data source in sharding rule, invalid actual data node `%s`.", dataNode);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DataNodesMissedWithShardingTableException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DataNodesMissedWithShardingTableException.java
index f8f16062a15..e46094e04f7 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DataNodesMissedWithShardingTableException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DataNodesMissedWithShardingTableException.java
@@ -28,6 +28,6 @@ public final class DataNodesMissedWithShardingTableException extends ShardingSQL
private static final long serialVersionUID = 1691113459377955727L;
public DataNodesMissedWithShardingTableException(final String tableName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 3, "Data nodes must be configured for sharding table `%s`", tableName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 3, "Data nodes must be configured for sharding table `%s`.", tableName);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DropInUsedTablesException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DropInUsedTablesException.java
index 481aa26c43d..e7a17dc35a4 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DropInUsedTablesException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DropInUsedTablesException.java
@@ -30,6 +30,6 @@ public final class DropInUsedTablesException extends ShardingSQLException {
private static final long serialVersionUID = 8939233348292246498L;
public DropInUsedTablesException(final Collection<String> inUsedTables) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 6, "Actual tables `%s` are in use", inUsedTables.toString());
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 6, "Actual tables `%s` are in use.", inUsedTables.toString());
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DuplicatedIndexException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DuplicatedIndexException.java
index 93e03d674f1..84a8761334d 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DuplicatedIndexException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/DuplicatedIndexException.java
@@ -28,6 +28,6 @@ public final class DuplicatedIndexException extends ShardingSQLException {
private static final long serialVersionUID = 2884666477007627873L;
public DuplicatedIndexException(final String indexName) {
- super(XOpenSQLState.DUPLICATE, 7, "Index `%s` already exists", indexName);
+ super(XOpenSQLState.DUPLICATE, 7, "Index `%s` already exists.", indexName);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/EngagedViewException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/EngagedViewException.java
index 8526d7efb54..9a134665a4b 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/EngagedViewException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/EngagedViewException.java
@@ -28,6 +28,6 @@ public final class EngagedViewException extends ShardingSQLException {
private static final long serialVersionUID = -8312969473716234951L;
public EngagedViewException(final String shardingType) {
- super(XOpenSQLState.DUPLICATE, 9, "View name has to bind to %s tables", shardingType);
+ super(XOpenSQLState.DUPLICATE, 9, "View name has to bind to %s tables.", shardingType);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/IndexNotExistedException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/IndexNotExistedException.java
index 7992fac94a3..76290eeb5bc 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/IndexNotExistedException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/IndexNotExistedException.java
@@ -28,6 +28,6 @@ public final class IndexNotExistedException extends ShardingSQLException {
private static final long serialVersionUID = 206503570677185269L;
public IndexNotExistedException(final String indexName) {
- super(XOpenSQLState.NOT_FOUND, 8, "Index `%s` does not exist", indexName);
+ super(XOpenSQLState.NOT_FOUND, 8, "Index `%s` does not exist.", indexName);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/ShardingRuleNotFoundException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/ShardingRuleNotFoundException.java
index 795a540773b..d8165895e54 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/ShardingRuleNotFoundException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/metadata/ShardingRuleNotFoundException.java
@@ -30,6 +30,6 @@ public final class ShardingRuleNotFoundException extends ShardingSQLException {
private static final long serialVersionUID = 142299282103233064L;
public ShardingRuleNotFoundException(final Collection<String> logicTables) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 0, "Can not find table rule with logic tables `%s`", logicTables.toString());
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 0, "Can not find table rule with logic tables `%s`.", logicTables.toString());
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DMLMultipleDataNodesWithLimitException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DMLMultipleDataNodesWithLimitException.java
index dd823c6f71e..9d5a673feca 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DMLMultipleDataNodesWithLimitException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DMLMultipleDataNodesWithLimitException.java
@@ -28,6 +28,6 @@ public final class DMLMultipleDataNodesWithLimitException extends ShardingSQLExc
private static final long serialVersionUID = -203240151021113065L;
public DMLMultipleDataNodesWithLimitException(final String operation) {
- super(XOpenSQLState.SYNTAX_ERROR, 46, "%s ... LIMIT can not support route to multiple data nodes", operation);
+ super(XOpenSQLState.SYNTAX_ERROR, 46, "%s ... LIMIT can not support route to multiple data nodes.", operation);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DMLWithMultipleShardingTablesException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DMLWithMultipleShardingTablesException.java
index 66afb124fc4..9315cbf5760 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DMLWithMultipleShardingTablesException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DMLWithMultipleShardingTablesException.java
@@ -30,6 +30,6 @@ public final class DMLWithMultipleShardingTablesException extends ShardingSQLExc
private static final long serialVersionUID = -7368310216924145478L;
public DMLWithMultipleShardingTablesException(final Collection<String> tableNames) {
- super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 45, "Can not support DML operation with multiple tables `%s`", tableNames.toString());
+ super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 45, "Can not support DML operation with multiple tables `%s`.", tableNames.toString());
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DataSourceIntersectionNotFoundException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DataSourceIntersectionNotFoundException.java
index cc5665c7617..865b0e440c1 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DataSourceIntersectionNotFoundException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/DataSourceIntersectionNotFoundException.java
@@ -30,6 +30,6 @@ public final class DataSourceIntersectionNotFoundException extends ShardingSQLEx
private static final long serialVersionUID = -2142571707728236489L;
public DataSourceIntersectionNotFoundException(final Collection<String> logicTables) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 47, "Can not find actual data source intersection for logic tables `%s`", logicTables);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 47, "Can not find actual data source intersection for logic tables `%s`.", logicTables);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/InsertSelectTableViolationException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/InsertSelectTableViolationException.java
index f59caf3b614..e47ddbc777a 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/InsertSelectTableViolationException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/InsertSelectTableViolationException.java
@@ -28,6 +28,6 @@ public final class InsertSelectTableViolationException extends ShardingSQLExcept
private static final long serialVersionUID = 1221612068163533037L;
public InsertSelectTableViolationException() {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 44, "The table inserted and the table selected must be the same or bind tables");
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 44, "The table inserted and the table selected must be the same or bind tables.");
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/MissingGenerateKeyColumnWithInsertSelectException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/MissingGenerateKeyColumnWithInsertSelectException.java
index f13d9c6c738..41b30ec6110 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/MissingGenerateKeyColumnWithInsertSelectException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/MissingGenerateKeyColumnWithInsertSelectException.java
@@ -28,6 +28,6 @@ public final class MissingGenerateKeyColumnWithInsertSelectException extends Sha
private static final long serialVersionUID = 568269722599010228L;
public MissingGenerateKeyColumnWithInsertSelectException() {
- super(XOpenSQLState.SYNTAX_ERROR, 48, "INSERT INTO ... SELECT can not support applying key generator with absent generate key column");
+ super(XOpenSQLState.SYNTAX_ERROR, 48, "INSERT INTO ... SELECT can not support applying key generator with absent generate key column.");
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/RenamedViewWithoutSameConfigurationException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/RenamedViewWithoutSameConfigurationException.java
index 18aa8c32081..96ed25e6fbd 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/RenamedViewWithoutSameConfigurationException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/RenamedViewWithoutSameConfigurationException.java
@@ -28,6 +28,6 @@ public final class RenamedViewWithoutSameConfigurationException extends Sharding
private static final long serialVersionUID = -8276278970848162458L;
public RenamedViewWithoutSameConfigurationException(final String originView, final String targetView) {
- super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 49, "Alter view rename .. to .. statement should have same config for %s and %s", originView, targetView);
+ super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 49, "Alter view rename .. to .. statement should have same config for %s and %s.", originView, targetView);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedCreateViewException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedCreateViewException.java
index 1c83f21c102..85a039f3b91 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedCreateViewException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedCreateViewException.java
@@ -28,6 +28,6 @@ public final class UnsupportedCreateViewException extends ShardingSQLException {
private static final long serialVersionUID = -321126834428609310L;
public UnsupportedCreateViewException() {
- super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 42, "The CREATE VIEW statement contains unsupported query statement");
+ super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 42, "The CREATE VIEW statement contains unsupported query statement.");
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedPrepareRouteToSameDataSourceException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedPrepareRouteToSameDataSourceException.java
index 21bf30f1e5e..78650d5a871 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedPrepareRouteToSameDataSourceException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedPrepareRouteToSameDataSourceException.java
@@ -28,6 +28,6 @@ public final class UnsupportedPrepareRouteToSameDataSourceException extends Shar
private static final long serialVersionUID = -451667286925533523L;
public UnsupportedPrepareRouteToSameDataSourceException() {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 43, "PREPARE statement can not support sharding tables route to same data sources");
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 43, "PREPARE statement can not support sharding tables route to same data sources.");
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedShardingOperationException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedShardingOperationException.java
index 8486e97074d..c9e1e5c23ec 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedShardingOperationException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedShardingOperationException.java
@@ -28,6 +28,6 @@ public final class UnsupportedShardingOperationException extends ShardingSQLExce
private static final long serialVersionUID = 1009938372927671322L;
public UnsupportedShardingOperationException(final String operation, final String tableName) {
- super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 40, "Can not support operation `%s` with sharding table `%s`", operation, tableName);
+ super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 40, "Can not support operation `%s` with sharding table `%s`.", operation, tableName);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedUpdatingShardingValueException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedUpdatingShardingValueException.java
index 7b2e641571a..0fc7892db2c 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedUpdatingShardingValueException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/exception/syntax/UnsupportedUpdatingShardingValueException.java
@@ -28,6 +28,6 @@ public final class UnsupportedUpdatingShardingValueException extends ShardingSQL
private static final long serialVersionUID = 2552228890146113383L;
public UnsupportedUpdatingShardingValueException(final String tableName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 41, "Can not update sharding value for table `%s`", tableName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 41, "Can not update sharding value for table `%s`.", tableName);
}
}
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-namespace/src/main/java/org/apache/shardingsphere/sharding/spring/namespace/exception/UnsupportedShardingAlgorithmTypeServerException.java b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-namespace/src/main/java/org/apache/shardingsphere/sharding/spring/namespace/exception/UnsupportedShardingAlgorithmTypeS [...]
index 3f9dccde551..2d1133176ff 100644
--- a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-namespace/src/main/java/org/apache/shardingsphere/sharding/spring/namespace/exception/UnsupportedShardingAlgorithmTypeServerException.java
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-namespace/src/main/java/org/apache/shardingsphere/sharding/spring/namespace/exception/UnsupportedShardingAlgorithmTypeServerException.java
@@ -31,6 +31,6 @@ public final class UnsupportedShardingAlgorithmTypeServerException extends Shard
private static final int ERROR_CODE = 1;
public UnsupportedShardingAlgorithmTypeServerException(final String type) {
- super(ERROR_CATEGORY, ERROR_CODE, String.format("Can not support type `%s`", type));
+ super(ERROR_CATEGORY, ERROR_CODE, String.format("Can not support type `%s`.", type));
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/check/SQLCheckException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/check/SQLCheckException.java
index c35035b83c5..dad4c06eda3 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/check/SQLCheckException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/check/SQLCheckException.java
@@ -30,6 +30,6 @@ public final class SQLCheckException extends KernelSQLException {
private static final int KERNEL_CODE = 6;
public SQLCheckException(final String errorMessage) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, KERNEL_CODE, 0, "SQL check failed, error message: %s", errorMessage);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, KERNEL_CODE, 0, "SQL check failed, error message: %s.", errorMessage);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/database/metadata/UnrecognizedDatabaseURLException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/database/metadata/UnrecognizedDatabaseURLException.java
index 535716721cc..8a7736f00da 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/database/metadata/UnrecognizedDatabaseURLException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/database/metadata/UnrecognizedDatabaseURLException.java
@@ -28,6 +28,6 @@ public final class UnrecognizedDatabaseURLException extends MetaDataSQLException
private static final long serialVersionUID = -1551117178863766353L;
public UnrecognizedDatabaseURLException(final String url, final String pattern) {
- super(XOpenSQLState.CONNECTION_EXCEPTION, 1, "The URL `%s` is not recognized, please refer to the pattern `%s`", url, pattern);
+ super(XOpenSQLState.CONNECTION_EXCEPTION, 1, "The URL `%s` is not recognized, please refer to the pattern `%s`.", url, pattern);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/DuplicateResourceException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/DuplicateResourceException.java
index bde19f723cf..6ef326e6563 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/DuplicateResourceException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/DuplicateResourceException.java
@@ -29,6 +29,6 @@ public final class DuplicateResourceException extends ResourceDefinitionViolatio
private static final long serialVersionUID = 2103793827572264148L;
public DuplicateResourceException(final Collection<String> resourceNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 4, "Duplicate resource names `%s`", resourceNames);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 4, "Duplicate resource names `%s`.", resourceNames);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/EmptyResourceException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/EmptyResourceException.java
index f85ef5bd643..9f5f6cfb104 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/EmptyResourceException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/EmptyResourceException.java
@@ -27,6 +27,6 @@ public final class EmptyResourceException extends ResourceDefinitionViolationExc
private static final long serialVersionUID = 1704331180489268L;
public EmptyResourceException(final String databaseName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 2, "There is no resource in the database `%s`", databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 2, "There is no resource in the database `%s`.", databaseName);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/MissingRequiredResourcesException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/MissingRequiredResourcesException.java
index 7f1408a0590..f3a75868936 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/MissingRequiredResourcesException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/MissingRequiredResourcesException.java
@@ -29,6 +29,6 @@ public final class MissingRequiredResourcesException extends ResourceDefinitionV
private static final long serialVersionUID = 1704331180489268L;
public MissingRequiredResourcesException(final String databaseName, final Collection<String> resourceNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 1, "Resources `%s` do not exist in database `%s`", resourceNames, databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 1, "Resources `%s` do not exist in database `%s`.", resourceNames, databaseName);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/ResourceInUsedException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/ResourceInUsedException.java
index 2ae7cac2f5d..7e387132181 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/ResourceInUsedException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/resource/ResourceInUsedException.java
@@ -29,6 +29,6 @@ public final class ResourceInUsedException extends ResourceDefinitionViolationEx
private static final long serialVersionUID = -3427324685070457375L;
public ResourceInUsedException(final String resourceName, final Collection<String> ruleTypes) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 3, "Resource `%s` is still used by `%s`", resourceName, ruleTypes);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 3, "Resource `%s` is still used by `%s`.", resourceName, ruleTypes);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/AlgorithmInUsedException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/AlgorithmInUsedException.java
index 5d4292d281c..0d27be68e56 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/AlgorithmInUsedException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/AlgorithmInUsedException.java
@@ -29,6 +29,6 @@ public final class AlgorithmInUsedException extends RuleDefinitionViolationExcep
private static final long serialVersionUID = -5748228542420285726L;
public AlgorithmInUsedException(final String type, final String databaseName, final Collection<String> algorithmNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 152, "%s algorithms `%s` in database `%s` are still in used", type, algorithmNames, databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 152, "%s algorithms `%s` in database `%s` are still in used.", type, algorithmNames, databaseName);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateAlgorithmException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateAlgorithmException.java
index 30e593eff69..c647069ae1c 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateAlgorithmException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateAlgorithmException.java
@@ -29,6 +29,6 @@ public final class DuplicateAlgorithmException extends RuleDefinitionViolationEx
private static final long serialVersionUID = 4382238091103015055L;
public DuplicateAlgorithmException(final String type, final String databaseName, final Collection<String> auditorNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 153, "Duplicate %s algorithms `%s` in database `%s`", type, auditorNames, databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 153, "Duplicate %s algorithms `%s` in database `%s`.", type, auditorNames, databaseName);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateRuleException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateRuleException.java
index e332623ed69..f5b1a8c97af 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateRuleException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/DuplicateRuleException.java
@@ -29,14 +29,14 @@ public final class DuplicateRuleException extends RuleDefinitionViolationExcepti
private static final long serialVersionUID = -1738699538105858939L;
public DuplicateRuleException(final String ruleType, final String databaseName, final Collection<String> ruleNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 105, String.format("Duplicate %s rule names `%s` in database `%s`", ruleType, ruleNames, databaseName));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 105, String.format("Duplicate %s rule names `%s` in database `%s`.", ruleType, ruleNames, databaseName));
}
public DuplicateRuleException(final String ruleType, final Collection<String> ruleNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 105, String.format("Duplicate %s rule names `%s`", ruleType, ruleNames));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 105, String.format("Duplicate %s rule names `%s`.", ruleType, ruleNames));
}
public DuplicateRuleException(final String type, final String databaseName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 105, String.format("Duplicate `%s` in database `%s`", type, databaseName));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 105, String.format("Duplicate `%s` in database `%s`.", type, databaseName));
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/InvalidAlgorithmConfigurationException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/InvalidAlgorithmConfigurationException.java
index c0b07502512..73068cb5a3f 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/InvalidAlgorithmConfigurationException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/InvalidAlgorithmConfigurationException.java
@@ -29,14 +29,14 @@ public final class InvalidAlgorithmConfigurationException extends RuleDefinition
private static final long serialVersionUID = 9076740384552385180L;
public InvalidAlgorithmConfigurationException(final String algorithmType, final Collection<String> algorithms) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 150, String.format("Invalid %s algorithms `%s`", algorithmType, algorithms));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 150, String.format("Invalid %s algorithms `%s`.", algorithmType, algorithms));
}
public InvalidAlgorithmConfigurationException(final String algorithmType, final String algorithm) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 150, String.format("Invalid %s algorithm `%s`", algorithmType, algorithm));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 150, String.format("Invalid %s algorithm `%s`.", algorithmType, algorithm));
}
public InvalidAlgorithmConfigurationException(final String algorithmType) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 150, String.format("Invalid %s algorithm", algorithmType));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 150, String.format("Invalid %s algorithm.", algorithmType));
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/MissingRequiredAlgorithmException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/MissingRequiredAlgorithmException.java
index f571213c2d1..d8421079a54 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/MissingRequiredAlgorithmException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/MissingRequiredAlgorithmException.java
@@ -29,18 +29,18 @@ public final class MissingRequiredAlgorithmException extends RuleDefinitionViola
private static final long serialVersionUID = -1952698375135777585L;
public MissingRequiredAlgorithmException() {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 151, "Algorithm does not exist");
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 151, "Algorithm does not exist.");
}
public MissingRequiredAlgorithmException(final String type, final String databaseName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 151, String.format("%s algorithm does not exist in database `%s`", type, databaseName));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 151, String.format("%s algorithm does not exist in database `%s`.", type, databaseName));
}
public MissingRequiredAlgorithmException(final String type, final Collection<String> algorithmNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 151, String.format("%s algorithms `%s` do not exist", type, algorithmNames));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 151, String.format("%s algorithms `%s` do not exist.", type, algorithmNames));
}
public MissingRequiredAlgorithmException(final String type, final String databaseName, final Collection<String> algorithmNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 151, String.format("%s algorithms `%s` do not exist in database `%s`", type, algorithmNames, databaseName));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 151, String.format("%s algorithms `%s` do not exist in database `%s`.", type, algorithmNames, databaseName));
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/MissingRequiredRuleException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/MissingRequiredRuleException.java
index 2adf0e073ec..ea121dd4e0c 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/MissingRequiredRuleException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/MissingRequiredRuleException.java
@@ -29,22 +29,22 @@ public final class MissingRequiredRuleException extends RuleDefinitionViolationE
private static final long serialVersionUID = -8464574460917965546L;
public MissingRequiredRuleException(final String ruleType) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rule does not exist", ruleType));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rule does not exist.", ruleType));
}
public MissingRequiredRuleException(final String ruleType, final String databaseName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rule does not exist in database `%s`", ruleType, databaseName));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rule does not exist in database `%s`.", ruleType, databaseName));
}
public MissingRequiredRuleException(final String ruleType, final Collection<String> ruleNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rules `%s` do not exist", ruleType, ruleNames));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rules `%s` do not exist.", ruleType, ruleNames));
}
public MissingRequiredRuleException(final String ruleType, final String databaseName, final String ruleName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rule `%s` do not exist in database `%s`", ruleType, ruleName, databaseName));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rule `%s` do not exist in database `%s`.", ruleType, ruleName, databaseName));
}
public MissingRequiredRuleException(final String ruleType, final String databaseName, final Collection<String> ruleNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rules `%s` do not exist in database `%s`", ruleType, ruleNames, databaseName));
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 101, String.format("%s rules `%s` do not exist in database `%s`.", ruleType, ruleNames, databaseName));
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleDisabledException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleDisabledException.java
index f7b1cb73c50..3088d25672c 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleDisabledException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleDisabledException.java
@@ -27,6 +27,6 @@ public final class RuleDisabledException extends RuleDefinitionViolationExceptio
private static final long serialVersionUID = -4024905659258386784L;
public RuleDisabledException(final String ruleType, final String databaseName, final String ruleName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 104, "%s rule `%s` has been disabled in database `%s`", ruleType, ruleName, databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 104, "%s rule `%s` has been disabled in database `%s`.", ruleType, ruleName, databaseName);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleEnabledException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleEnabledException.java
index 3b790825f5b..273f5b65333 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleEnabledException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleEnabledException.java
@@ -27,6 +27,6 @@ public final class RuleEnabledException extends RuleDefinitionViolationException
private static final long serialVersionUID = 2381983504661441914L;
public RuleEnabledException(final String ruleType, final String databaseName, final String ruleName) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 103, "%s rule `%s` has been enabled in database `%s`", ruleType, ruleName, databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 103, "%s rule `%s` has been enabled in database `%s`.", ruleType, ruleName, databaseName);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleInUsedException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleInUsedException.java
index 795e32fb28b..1e924a71568 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleInUsedException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/distsql/exception/rule/RuleInUsedException.java
@@ -29,6 +29,6 @@ public final class RuleInUsedException extends RuleDefinitionViolationException
private static final long serialVersionUID = 3308787279125477660L;
public RuleInUsedException(final String ruleType, final String databaseName, final Collection<String> ruleNames) {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 102, "%s rules `%s` in database `%s` are still in used", ruleType, ruleNames, databaseName);
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 102, "%s rules `%s` in database `%s` are still in used.", ruleType, ruleNames, databaseName);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/exception/InvalidDataNodesFormatException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/exception/InvalidDataNodesFormatException.java
index 196eb5e06a1..1892b4bf5c2 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/exception/InvalidDataNodesFormatException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/exception/InvalidDataNodesFormatException.java
@@ -27,6 +27,6 @@ public final class InvalidDataNodesFormatException extends MetaDataSQLException
private static final long serialVersionUID = 192279170808654743L;
public InvalidDataNodesFormatException(final String dataNode) {
- super(XOpenSQLState.INVALID_DATA_TYPE, 3, "Invalid format for actual data node `%s`", dataNode);
+ super(XOpenSQLState.INVALID_DATA_TYPE, 3, "Invalid format for actual data node `%s`.", dataNode);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/exception/OverallConnectionNotEnoughException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/exception/OverallConnectionNotEnoughException.java
index a1a793e36d9..e3fba89e5e9 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/exception/OverallConnectionNotEnoughException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/exception/OverallConnectionNotEnoughException.java
@@ -28,6 +28,6 @@ public final class OverallConnectionNotEnoughException extends ConnectionSQLExce
public OverallConnectionNotEnoughException(final int desiredSize, final int actualSize) {
super(XOpenSQLState.CONNECTION_EXCEPTION, 20, "Can not get %d connections one time, partition succeed connection(%d) have released. "
- + "Please consider increasing the `maxPoolSize` of the data sources or decreasing the `max-connections-size-per-query` in properties", desiredSize, actualSize);
+ + "Please consider increasing the `maxPoolSize` of the data sources or decreasing the `max-connections-size-per-query` in properties.", desiredSize, actualSize);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/exception/TableLockWaitTimeoutException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/exception/TableLockWaitTimeoutException.java
index 44efedbe1ff..391cc88b607 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/exception/TableLockWaitTimeoutException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/exception/TableLockWaitTimeoutException.java
@@ -27,6 +27,6 @@ public final class TableLockWaitTimeoutException extends LockSQLException {
private static final long serialVersionUID = 2599713085782288003L;
public TableLockWaitTimeoutException(final String schemaName, final String tableName, final long timeoutMilliseconds) {
- super(XOpenSQLState.GENERAL_ERROR, 1, "The table `%s` of schema `%s` lock wait timeout of `%s` milliseconds exceeded", tableName, schemaName, String.valueOf(timeoutMilliseconds));
+ super(XOpenSQLState.GENERAL_ERROR, 1, "The table `%s` of schema `%s` lock wait timeout of `%s` milliseconds exceeded.", tableName, schemaName, String.valueOf(timeoutMilliseconds));
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/exception/TableLockedException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/exception/TableLockedException.java
index f877283a9b7..0ca44eddaff 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/exception/TableLockedException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/exception/TableLockedException.java
@@ -27,6 +27,6 @@ public final class TableLockedException extends LockSQLException {
private static final long serialVersionUID = 2622020743612706932L;
public TableLockedException(final String databaseName, final String schemaName, final String tableNames) {
- super(XOpenSQLState.GENERAL_ERROR, 0, "The table `%s` of schema `%s` is locked in database `%s`", tableNames, schemaName, databaseName);
+ super(XOpenSQLState.GENERAL_ERROR, 0, "The table `%s` of schema `%s` is locked in database `%s`.", tableNames, schemaName, databaseName);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/exception/UnsupportedActualDataNodeStructureException.java b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/exception/UnsupportedActualDataNodeStructureException.java
index 412a2d81e57..791ef38c96e 100644
--- a/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/exception/UnsupportedActualDataNodeStructureException.java
+++ b/shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/database/schema/exception/UnsupportedActualDataNodeStructureException.java
@@ -31,6 +31,6 @@ public final class UnsupportedActualDataNodeStructureException extends MetaDataS
private static final long serialVersionUID = -8921823916974492519L;
public UnsupportedActualDataNodeStructureException(final DataNode dataNode, final Collection<String> jdbcUrlPrefixes) {
- super(XOpenSQLState.SYNTAX_ERROR, 2, "Can not support 3-tier structure for actual data node `%s` with JDBC `%s`", dataNode.format(), jdbcUrlPrefixes.toString());
+ super(XOpenSQLState.SYNTAX_ERROR, 2, "Can not support 3-tier structure for actual data node `%s` with JDBC `%s`.", dataNode.format(), jdbcUrlPrefixes.toString());
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-datetime/shardingsphere-infra-datetime-type/shardingsphere-database-datetime/src/main/java/org/apache/shardingsphere/datetime/database/exception/DatetimeConfigurationFileNotFoundException.java b/shardingsphere-infra/shardingsphere-infra-datetime/shardingsphere-infra-datetime-type/shardingsphere-database-datetime/src/main/java/org/apache/shardingsphere/datetime/database/exception/DatetimeConfigurationFileNotFoundException.java
index 546a530f62f..a3f8a49b08b 100644
--- a/shardingsphere-infra/shardingsphere-infra-datetime/shardingsphere-infra-datetime-type/shardingsphere-database-datetime/src/main/java/org/apache/shardingsphere/datetime/database/exception/DatetimeConfigurationFileNotFoundException.java
+++ b/shardingsphere-infra/shardingsphere-infra-datetime/shardingsphere-infra-datetime-type/shardingsphere-database-datetime/src/main/java/org/apache/shardingsphere/datetime/database/exception/DatetimeConfigurationFileNotFoundException.java
@@ -28,6 +28,6 @@ public final class DatetimeConfigurationFileNotFoundException extends ClusterSQL
private static final long serialVersionUID = 4820838154441059833L;
public DatetimeConfigurationFileNotFoundException(final String configurationFile) {
- super(XOpenSQLState.GENERAL_ERROR, 2, "Can not find `%s` file for datetime initialize", configurationFile);
+ super(XOpenSQLState.GENERAL_ERROR, 2, "Can not find `%s` file for datetime initialize.", configurationFile);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/exception/UnsupportedDataTypeConversionException.java b/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/exception/UnsupportedDataTypeConversionException.java
index 277ac16c1d8..49d163f1bce 100644
--- a/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/exception/UnsupportedDataTypeConversionException.java
+++ b/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/exception/UnsupportedDataTypeConversionException.java
@@ -30,6 +30,6 @@ public final class UnsupportedDataTypeConversionException extends DataSQLExcepti
private static final long serialVersionUID = 4808672149254705863L;
public UnsupportedDataTypeConversionException(final Class<?> convertType, final Object value) {
- super(XOpenSQLState.INVALID_DATA_TYPE, 1, "Unsupported conversion data type `%s` for value `%s`", convertType.getName(), Objects.toString(value));
+ super(XOpenSQLState.INVALID_DATA_TYPE, 1, "Unsupported conversion data type `%s` for value `%s`.", convertType.getName(), Objects.toString(value));
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/exception/UnsupportedStreamCharsetConversionException.java b/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/exception/UnsupportedStreamCharsetConversionException.java
index be31c7b7e49..1dd79e30175 100644
--- a/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/exception/UnsupportedStreamCharsetConversionException.java
+++ b/shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/exception/UnsupportedStreamCharsetConversionException.java
@@ -28,6 +28,6 @@ public final class UnsupportedStreamCharsetConversionException extends DataSQLEx
private static final long serialVersionUID = 4577091201937095156L;
public UnsupportedStreamCharsetConversionException(final String charsetType) {
- super(XOpenSQLState.INVALID_DATA_TYPE, 10, "Unsupported conversion stream charset `%s`", charsetType);
+ super(XOpenSQLState.INVALID_DATA_TYPE, 10, "Unsupported conversion stream charset `%s`.", charsetType);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/spi/exception/ServiceProviderNotFoundServerException.java b/shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/spi/exception/ServiceProviderNotFoundServerException.java
index 1307ad77fb8..d82222bd41e 100644
--- a/shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/spi/exception/ServiceProviderNotFoundServerException.java
+++ b/shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/spi/exception/ServiceProviderNotFoundServerException.java
@@ -31,10 +31,10 @@ public final class ServiceProviderNotFoundServerException extends ShardingSphere
private static final int ERROR_CODE = 1;
public ServiceProviderNotFoundServerException(final Class<?> clazz) {
- super(ERROR_CATEGORY, ERROR_CODE, String.format("No implementation class load from SPI `%s`", clazz.getName()));
+ super(ERROR_CATEGORY, ERROR_CODE, String.format("No implementation class load from SPI `%s`.", clazz.getName()));
}
public ServiceProviderNotFoundServerException(final Class<?> clazz, final String type) {
- super(ERROR_CATEGORY, ERROR_CODE, String.format("No implementation class load from SPI `%s` with type `%s`", clazz.getName(), type));
+ super(ERROR_CATEGORY, ERROR_CODE, String.format("No implementation class load from SPI `%s` with type `%s`.", clazz.getName(), type));
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/exception/external/server/fixture/ShardingSphereServerExceptionFixture.java b/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/exception/external/server/fixture/ShardingSphereServerExceptionFixture.java
index 45d17fbd570..b8b0e0da905 100644
--- a/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/exception/external/server/fixture/ShardingSphereServerExceptionFixture.java
+++ b/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/exception/external/server/fixture/ShardingSphereServerExceptionFixture.java
@@ -28,6 +28,6 @@ public final class ShardingSphereServerExceptionFixture extends ShardingSphereSe
}
public ShardingSphereServerExceptionFixture(final Exception cause) {
- super("FIXTURE", 1, "Fixture error message", cause);
+ super("FIXTURE", 1, "Fixture error message.", cause);
}
}
diff --git a/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/spi/exception/ServiceProviderNotFoundExceptionTest.java b/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/spi/exception/ServiceProviderNotFoundExceptionTest.java
index f9d0632dcb4..0db13c5df6c 100644
--- a/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/spi/exception/ServiceProviderNotFoundExceptionTest.java
+++ b/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/spi/exception/ServiceProviderNotFoundExceptionTest.java
@@ -26,11 +26,11 @@ public final class ServiceProviderNotFoundExceptionTest {
@Test
public void assertGetMessageWithClassOnly() {
- assertThat(new ServiceProviderNotFoundServerException(Object.class).getMessage(), is("SPI-00001: No implementation class load from SPI `java.lang.Object`"));
+ assertThat(new ServiceProviderNotFoundServerException(Object.class).getMessage(), is("SPI-00001: No implementation class load from SPI `java.lang.Object`."));
}
@Test
public void assertGetMessageWithClassAndType() {
- assertThat(new ServiceProviderNotFoundServerException(Object.class, "Foo").getMessage(), is("SPI-00001: No implementation class load from SPI `java.lang.Object` with type `Foo`"));
+ assertThat(new ServiceProviderNotFoundServerException(Object.class, "Foo").getMessage(), is("SPI-00001: No implementation class load from SPI `java.lang.Object` with type `Foo`."));
}
}
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/connection/ConnectionClosedException.java b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/connection/ConnectionClosedException.java
index a877b91ae4b..fd7ce9009a8 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/connection/ConnectionClosedException.java
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/connection/ConnectionClosedException.java
@@ -28,6 +28,6 @@ public final class ConnectionClosedException extends ConnectionSQLException {
private static final long serialVersionUID = 8667898851939815681L;
public ConnectionClosedException() {
- super(XOpenSQLState.CONNECTION_EXCEPTION, 30, "Connection has been closed");
+ super(XOpenSQLState.CONNECTION_EXCEPTION, 30, "Connection has been closed.");
}
}
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/connection/ResultSetClosedException.java b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/connection/ResultSetClosedException.java
index ca4718e3eba..7890d16f639 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/connection/ResultSetClosedException.java
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/connection/ResultSetClosedException.java
@@ -28,6 +28,6 @@ public final class ResultSetClosedException extends ConnectionSQLException {
private static final long serialVersionUID = 3931974854134322934L;
public ResultSetClosedException() {
- super(XOpenSQLState.CONNECTION_EXCEPTION, 31, "Result set has been closed");
+ super(XOpenSQLState.CONNECTION_EXCEPTION, 31, "Result set has been closed.");
}
}
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/ColumnIndexOutOfRangeException.java b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/ColumnIndexOutOfRangeException.java
index af7b843ae56..032032326d7 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/ColumnIndexOutOfRangeException.java
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/ColumnIndexOutOfRangeException.java
@@ -28,6 +28,6 @@ public final class ColumnIndexOutOfRangeException extends SyntaxSQLException {
private static final long serialVersionUID = 3599337605134702447L;
public ColumnIndexOutOfRangeException(final int columnIndex) {
- super(XOpenSQLState.INVALID_COLUMN_NUMBER, 20, "Column index `%d` is out of range", columnIndex);
+ super(XOpenSQLState.INVALID_COLUMN_NUMBER, 20, "Column index `%d` is out of range.", columnIndex);
}
}
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/ColumnLabelNotFoundException.java b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/ColumnLabelNotFoundException.java
index f1f03b72828..6795726a760 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/ColumnLabelNotFoundException.java
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/ColumnLabelNotFoundException.java
@@ -28,6 +28,6 @@ public final class ColumnLabelNotFoundException extends SyntaxSQLException {
private static final long serialVersionUID = -4634399403612501335L;
public ColumnLabelNotFoundException(final String columnLabel) {
- super(XOpenSQLState.NOT_FOUND, 11, "Can not find column label `%s`", columnLabel);
+ super(XOpenSQLState.NOT_FOUND, 11, "Can not find column label `%s`.", columnLabel);
}
}
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/EmptySQLException.java b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/EmptySQLException.java
index 22dcf590296..fabb3fbd2d8 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/EmptySQLException.java
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/syntax/EmptySQLException.java
@@ -28,6 +28,6 @@ public final class EmptySQLException extends SyntaxSQLException {
private static final long serialVersionUID = -5723825491720138339L;
public EmptySQLException() {
- super(XOpenSQLState.SYNTAX_ERROR, 2, "SQL String can not be NULL or empty");
+ super(XOpenSQLState.SYNTAX_ERROR, 2, "SQL String can not be NULL or empty.");
}
}
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/transaction/JDBCTransactionAcrossDatabasesException.java b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/transaction/JDBCTransactionAcrossDatabasesException.java
index 9e7c6a3e06e..6962c8e90e1 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/transaction/JDBCTransactionAcrossDatabasesException.java
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/exception/transaction/JDBCTransactionAcrossDatabasesException.java
@@ -28,6 +28,6 @@ public final class JDBCTransactionAcrossDatabasesException extends TransactionSQ
private static final long serialVersionUID = 3294968323117604702L;
public JDBCTransactionAcrossDatabasesException() {
- super(XOpenSQLState.INVALID_TRANSACTION_STATE, 100, "JDBC does not support operations across multiple logical databases in transaction");
+ super(XOpenSQLState.INVALID_TRANSACTION_STATE, 100, "JDBC does not support operations across multiple logical databases in transaction.");
}
}
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/connection/ConnectionManagerTest.java b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/connection/ConnectionManagerTest.java
index c33fc8e7d6b..50fa9bd2053 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/connection/ConnectionManagerTest.java
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/connection/ConnectionManagerTest.java
@@ -226,7 +226,7 @@ public final class ConnectionManagerTest {
connectionManager.getConnections("invalid_ds", 3, ConnectionMode.CONNECTION_STRICTLY);
} catch (final SQLException ex) {
assertThat(ex.getMessage(), is("Can not get 3 connections one time, partition succeed connection(0) have released. "
- + "Please consider increasing the `maxPoolSize` of the data sources or decreasing the `max-connections-size-per-query` in properties"));
+ + "Please consider increasing the `maxPoolSize` of the data sources or decreasing the `max-connections-size-per-query` in properties."));
}
}
}
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-boot-starter-infra/src/main/java/org/apache/shardingsphere/spring/boot/exception/DataSourceJndiNotFoundServerException.java b/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-boot-starter-infra/src/main/java/org/apache/shardingsphere/spring/boot/exception/DataSourceJndiNotFoundServerException.java
index de6c2703434..fca7118ee74 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-boot-starter-infra/src/main/java/org/apache/shardingsphere/spring/boot/exception/DataSourceJndiNotFoundServerException.java
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-boot-starter-infra/src/main/java/org/apache/shardingsphere/spring/boot/exception/DataSourceJndiNotFoundServerException.java
@@ -31,6 +31,6 @@ public final class DataSourceJndiNotFoundServerException extends ShardingSphereS
private static final int ERROR_CODE = 1;
public DataSourceJndiNotFoundServerException(final Exception cause) {
- super(ERROR_CATEGORY, ERROR_CODE, "Can not find JNDI data source", cause);
+ super(ERROR_CATEGORY, ERROR_CODE, "Can not find JNDI data source.", cause);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/connection/AddMigrationSourceResourceException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/connection/AddMigrationSourceResourceException.java
index a66739d0f9a..17aa2f7abba 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/connection/AddMigrationSourceResourceException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/connection/AddMigrationSourceResourceException.java
@@ -30,6 +30,6 @@ public final class AddMigrationSourceResourceException extends PipelineSQLExcept
private static final long serialVersionUID = -3952313247315105684L;
public AddMigrationSourceResourceException(final Collection<String> duplicateDataSourceNames) {
- super(XOpenSQLState.DUPLICATE, 30, "Duplicate resource names `%s`", duplicateDataSourceNames);
+ super(XOpenSQLState.DUPLICATE, 30, "Duplicate resource names `%s`.", duplicateDataSourceNames);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/connection/DropMigrationSourceResourceException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/connection/DropMigrationSourceResourceException.java
index 3981fe637fa..2132dd5aac0 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/connection/DropMigrationSourceResourceException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/connection/DropMigrationSourceResourceException.java
@@ -30,6 +30,6 @@ public final class DropMigrationSourceResourceException extends PipelineSQLExcep
private static final long serialVersionUID = -7133815271017274299L;
public DropMigrationSourceResourceException(final Collection<String> resourceNames) {
- super(XOpenSQLState.NOT_FOUND, 31, "Resource names `%s` do not exist", resourceNames);
+ super(XOpenSQLState.NOT_FOUND, 31, "Resource names `%s` do not exist.", resourceNames);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/PipelineTableDataConsistencyCheckLoadingFailedException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/PipelineTableDataConsistencyCheckLoadingFailedException.java
index e68db550ff2..64d448d94a6 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/PipelineTableDataConsistencyCheckLoadingFailedException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/PipelineTableDataConsistencyCheckLoadingFailedException.java
@@ -28,6 +28,6 @@ public final class PipelineTableDataConsistencyCheckLoadingFailedException exten
private static final long serialVersionUID = 8965231249677009738L;
public PipelineTableDataConsistencyCheckLoadingFailedException(final String tableName) {
- super(XOpenSQLState.CONNECTION_EXCEPTION, 51, "Data check table `%s` failed", tableName);
+ super(XOpenSQLState.CONNECTION_EXCEPTION, 51, "Data check table `%s` failed.", tableName);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/PipelineUnexpectedDataRecordOrderException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/PipelineUnexpectedDataRecordOrderException.java
index 132fba202da..34ab09a0ce8 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/PipelineUnexpectedDataRecordOrderException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/PipelineUnexpectedDataRecordOrderException.java
@@ -29,6 +29,6 @@ public final class PipelineUnexpectedDataRecordOrderException extends PipelineSQ
private static final long serialVersionUID = 6023695604738387750L;
public PipelineUnexpectedDataRecordOrderException(final DataRecord beforeDataRecord, final DataRecord afterDataRecord) {
- super(XOpenSQLState.GENERAL_ERROR, 50, "Before data record is `%s`, after data record is `%s`", beforeDataRecord, afterDataRecord);
+ super(XOpenSQLState.GENERAL_ERROR, 50, "Before data record is `%s`, after data record is `%s`.", beforeDataRecord, afterDataRecord);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/UnsupportedCRC32DataConsistencyCalculateAlgorithmException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/UnsupportedCRC32DataConsistencyCalculateAlgorithmException.java
index 22f3f8a2b0c..9548af218aa 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/UnsupportedCRC32DataConsistencyCalculateAlgorithmException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/UnsupportedCRC32DataConsistencyCalculateAlgorithmException.java
@@ -28,6 +28,6 @@ public final class UnsupportedCRC32DataConsistencyCalculateAlgorithmException ex
private static final long serialVersionUID = 580323508713524816L;
public UnsupportedCRC32DataConsistencyCalculateAlgorithmException(final String databaseType) {
- super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 53, "Unsupported CRC32 data consistency calculate algorithm with database type `%s`", databaseType);
+ super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 53, "Unsupported CRC32 data consistency calculate algorithm with database type `%s`.", databaseType);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/UnsupportedPipelineDatabaseTypeException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/UnsupportedPipelineDatabaseTypeException.java
index b758f7d6dcd..df53baf621d 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/UnsupportedPipelineDatabaseTypeException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/data/UnsupportedPipelineDatabaseTypeException.java
@@ -29,6 +29,6 @@ public final class UnsupportedPipelineDatabaseTypeException extends PipelineSQLE
private static final long serialVersionUID = -4100671584682823997L;
public UnsupportedPipelineDatabaseTypeException(final DatabaseType databaseType) {
- super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 52, "Unsupported pipeline database type `%s`", databaseType.getType());
+ super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 52, "Unsupported pipeline database type `%s`.", databaseType.getType());
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/BinlogSyncChannelAlreadyClosedException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/BinlogSyncChannelAlreadyClosedException.java
index 119eb138436..4c8fcfc63c5 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/BinlogSyncChannelAlreadyClosedException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/BinlogSyncChannelAlreadyClosedException.java
@@ -28,6 +28,6 @@ public final class BinlogSyncChannelAlreadyClosedException extends PipelineSQLEx
private static final long serialVersionUID = -8897293295641185703L;
public BinlogSyncChannelAlreadyClosedException() {
- super(XOpenSQLState.GENERAL_ERROR, 93, "Can not poll event because of binlog sync channel already closed");
+ super(XOpenSQLState.GENERAL_ERROR, 93, "Can not poll event because of binlog sync channel already closed.");
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineImporterJobWriteException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineImporterJobWriteException.java
index 9cfb1903493..762d9ace2b4 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineImporterJobWriteException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineImporterJobWriteException.java
@@ -28,6 +28,6 @@ public final class PipelineImporterJobWriteException extends PipelineSQLExceptio
private static final long serialVersionUID = -7924663094479253130L;
public PipelineImporterJobWriteException() {
- super(XOpenSQLState.GENERAL_ERROR, 91, "Importer job write data failed");
+ super(XOpenSQLState.GENERAL_ERROR, 91, "Importer job write data failed.");
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobCreationWithInvalidShardingCountException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobCreationWithInvalidShardingCountException.java
index d18868f735f..6c6290d2a73 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobCreationWithInvalidShardingCountException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobCreationWithInvalidShardingCountException.java
@@ -28,6 +28,6 @@ public final class PipelineJobCreationWithInvalidShardingCountException extends
private static final long serialVersionUID = 5829502315976905271L;
public PipelineJobCreationWithInvalidShardingCountException(final String jobId) {
- super(XOpenSQLState.GENERAL_ERROR, 82, "Sharding count of job `%s` is 0", jobId);
+ super(XOpenSQLState.GENERAL_ERROR, 82, "Sharding count of job `%s` is 0.", jobId);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobExecutionException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobExecutionException.java
index 1a5c7cf30dd..fdfe01ec7d2 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobExecutionException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobExecutionException.java
@@ -28,6 +28,6 @@ public final class PipelineJobExecutionException extends PipelineSQLException {
private static final long serialVersionUID = -8462847591661221914L;
public PipelineJobExecutionException(final String taskId, final Throwable cause) {
- super(XOpenSQLState.GENERAL_ERROR, 94, "Task `%s` execute failed", taskId, cause.getMessage());
+ super(XOpenSQLState.GENERAL_ERROR, 94, "Task `%s` execute failed.", taskId, cause.getMessage());
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobHasAlreadyFinishedException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobHasAlreadyFinishedException.java
index 8bb7e5bdcd4..edbd4afb2f7 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobHasAlreadyFinishedException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobHasAlreadyFinishedException.java
@@ -28,6 +28,6 @@ public final class PipelineJobHasAlreadyFinishedException extends PipelineSQLExc
private static final long serialVersionUID = 6881217592831423520L;
public PipelineJobHasAlreadyFinishedException(final String jobId) {
- super(XOpenSQLState.GENERAL_ERROR, 95, "Job has already finished, please run `CHECK MIGRATION %s` to start a new data consistency check job", jobId);
+ super(XOpenSQLState.GENERAL_ERROR, 95, "Job has already finished, please run `CHECK MIGRATION %s` to start a new data consistency check job.", jobId);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobHasAlreadyStartedException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobHasAlreadyStartedException.java
index 1cc534bf38d..272491d1e4a 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobHasAlreadyStartedException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobHasAlreadyStartedException.java
@@ -28,6 +28,6 @@ public final class PipelineJobHasAlreadyStartedException extends PipelineSQLExce
private static final long serialVersionUID = 2854259384634892428L;
public PipelineJobHasAlreadyStartedException(final String jobId) {
- super(XOpenSQLState.GENERAL_ERROR, 81, "Job `%s` has already started", jobId);
+ super(XOpenSQLState.GENERAL_ERROR, 81, "Job `%s` has already started.", jobId);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobNotFoundException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobNotFoundException.java
index fd763ed7ab2..cd2035fbabd 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobNotFoundException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PipelineJobNotFoundException.java
@@ -28,6 +28,6 @@ public final class PipelineJobNotFoundException extends PipelineSQLException {
private static final long serialVersionUID = -903289953649758722L;
public PipelineJobNotFoundException(final String jobId) {
- super(XOpenSQLState.GENERAL_ERROR, 80, "Can not find pipeline job `%s`", jobId);
+ super(XOpenSQLState.GENERAL_ERROR, 80, "Can not find pipeline job `%s`.", jobId);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithInvalidSourceDataSourceException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithInvalidSourceDataSourceException.java
index 3299d1c7a0b..a130e8085e2 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithInvalidSourceDataSourceException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithInvalidSourceDataSourceException.java
@@ -28,6 +28,6 @@ public final class PrepareJobWithInvalidSourceDataSourceException extends Pipeli
private static final long serialVersionUID = -7710035889344958565L;
public PrepareJobWithInvalidSourceDataSourceException(final String dataSourceKey, final String toBeCheckedValue, final String actualValue) {
- super(XOpenSQLState.GENERAL_ERROR, 87, "Source data source required `%s = %s`, now is `%s`", dataSourceKey, toBeCheckedValue, actualValue);
+ super(XOpenSQLState.GENERAL_ERROR, 87, "Source data source required `%s = %s`, now is `%s`.", dataSourceKey, toBeCheckedValue, actualValue);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithTargetTableNotEmptyException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithTargetTableNotEmptyException.java
index 0dd75b8d965..2d475a14cfb 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithTargetTableNotEmptyException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithTargetTableNotEmptyException.java
@@ -28,6 +28,6 @@ public final class PrepareJobWithTargetTableNotEmptyException extends PipelineSQ
private static final long serialVersionUID = -8462039913248251254L;
public PrepareJobWithTargetTableNotEmptyException(final String tableName) {
- super(XOpenSQLState.GENERAL_ERROR, 85, "Target table `%s` is not empty before migration", tableName);
+ super(XOpenSQLState.GENERAL_ERROR, 85, "Target table `%s` is not empty before migration.", tableName);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithoutEnoughPrivilegeException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithoutEnoughPrivilegeException.java
index 45cfd619d84..c8d3022f70e 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithoutEnoughPrivilegeException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithoutEnoughPrivilegeException.java
@@ -30,6 +30,6 @@ public final class PrepareJobWithoutEnoughPrivilegeException extends PipelineSQL
private static final long serialVersionUID = -8462039913248251254L;
public PrepareJobWithoutEnoughPrivilegeException(final Collection<String> privileges) {
- super(XOpenSQLState.PRIVILEGE_NOT_GRANTED, 86, "Source data source lacks %s privilege(s)", privileges);
+ super(XOpenSQLState.PRIVILEGE_NOT_GRANTED, 86, "Source data source lacks %s privilege(s).", privileges);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithoutUserException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithoutUserException.java
index b376abc5c6d..14c583bfc7f 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithoutUserException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/PrepareJobWithoutUserException.java
@@ -28,6 +28,6 @@ public final class PrepareJobWithoutUserException extends PipelineSQLException {
private static final long serialVersionUID = 7250019436391155770L;
public PrepareJobWithoutUserException(final String username) {
- super(XOpenSQLState.PRIVILEGE_NOT_GRANTED, 88, "User `%s` does exist", username);
+ super(XOpenSQLState.PRIVILEGE_NOT_GRANTED, 88, "User `%s` does exist.", username);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/UncompletedConsistencyCheckJobExistsException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/UncompletedConsistencyCheckJobExistsException.java
index e5ab9d1c8db..cbd52e4fce7 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/UncompletedConsistencyCheckJobExistsException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/job/UncompletedConsistencyCheckJobExistsException.java
@@ -28,6 +28,6 @@ public final class UncompletedConsistencyCheckJobExistsException extends Pipelin
private static final long serialVersionUID = 2854259384634892428L;
public UncompletedConsistencyCheckJobExistsException(final String jobId) {
- super(XOpenSQLState.GENERAL_ERROR, 86, "Uncompelted consistency check job `%s` exists", jobId);
+ super(XOpenSQLState.GENERAL_ERROR, 86, "Uncompelted consistency check job `%s` exists.", jobId);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/metadata/AlterNotExistProcessConfigurationException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/metadata/AlterNotExistProcessConfigurationException.java
index c07200ba5a4..7f01df7c5b2 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/metadata/AlterNotExistProcessConfigurationException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/metadata/AlterNotExistProcessConfigurationException.java
@@ -28,6 +28,6 @@ public final class AlterNotExistProcessConfigurationException extends PipelineSQ
private static final long serialVersionUID = 8799641580689564088L;
public AlterNotExistProcessConfigurationException() {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 2, "Altered process configuration does not exist");
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 2, "Altered process configuration does not exist.");
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/metadata/CreateExistsProcessConfigurationException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/metadata/CreateExistsProcessConfigurationException.java
index 359a9afad4f..7c8f67c6353 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/metadata/CreateExistsProcessConfigurationException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/metadata/CreateExistsProcessConfigurationException.java
@@ -28,6 +28,6 @@ public final class CreateExistsProcessConfigurationException extends PipelineSQL
private static final long serialVersionUID = 8134085267509955091L;
public CreateExistsProcessConfigurationException() {
- super(XOpenSQLState.CHECK_OPTION_VIOLATION, 1, "Created process configuration already existed");
+ super(XOpenSQLState.CHECK_OPTION_VIOLATION, 1, "Created process configuration already existed.");
}
}
diff --git a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/syntax/CreateTableSQLGenerateException.java b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/syntax/CreateTableSQLGenerateException.java
index dcde4f5f1f0..4f303f3099d 100644
--- a/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/syntax/CreateTableSQLGenerateException.java
+++ b/shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/core/exception/syntax/CreateTableSQLGenerateException.java
@@ -28,6 +28,6 @@ public final class CreateTableSQLGenerateException extends PipelineSQLException
private static final long serialVersionUID = -219467568498936298L;
public CreateTableSQLGenerateException(final String tableName) {
- super(XOpenSQLState.GENERAL_ERROR, 20, "Failed to get DDL for table `%s`", tableName);
+ super(XOpenSQLState.GENERAL_ERROR, 20, "Failed to get DDL for table `%s`.", tableName);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/DropNotEmptySchemaException.java b/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/DropNotEmptySchemaException.java
index d12707e7721..7b3a863cbd4 100644
--- a/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/DropNotEmptySchemaException.java
+++ b/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/DropNotEmptySchemaException.java
@@ -28,6 +28,6 @@ public final class DropNotEmptySchemaException extends MetaDataSQLException {
private static final long serialVersionUID = 5285619119572894557L;
public DropNotEmptySchemaException(final String schemaName) {
- super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 30, "Can not drop schema `%s` because of contains tables", schemaName);
+ super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 30, "Can not drop schema `%s` because of contains tables.", schemaName);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/SchemaNotFoundException.java b/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/SchemaNotFoundException.java
index 31987c2e926..f74e47a3dce 100644
--- a/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/SchemaNotFoundException.java
+++ b/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/SchemaNotFoundException.java
@@ -28,6 +28,6 @@ public final class SchemaNotFoundException extends MetaDataSQLException {
private static final long serialVersionUID = 2722045034640737328L;
public SchemaNotFoundException(final String schemaName) {
- super(XOpenSQLState.NOT_FOUND, 20, "Schema `%s` does not exist", schemaName);
+ super(XOpenSQLState.NOT_FOUND, 20, "Schema `%s` does not exist.", schemaName);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/SingleTableNotFoundException.java b/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/SingleTableNotFoundException.java
index 214628ea57c..9582268f9fe 100644
--- a/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/SingleTableNotFoundException.java
+++ b/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/SingleTableNotFoundException.java
@@ -28,6 +28,6 @@ public final class SingleTableNotFoundException extends MetaDataSQLException {
private static final long serialVersionUID = 3498790429190415298L;
public SingleTableNotFoundException(final String tableName) {
- super(XOpenSQLState.NOT_FOUND, 21, "Single table `%s` does not exist", tableName);
+ super(XOpenSQLState.NOT_FOUND, 21, "Single table `%s` does not exist.", tableName);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/UnsupportedDropCascadeTableException.java b/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/UnsupportedDropCascadeTableException.java
index 9e1f0e705f2..e966b08d5fe 100644
--- a/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/UnsupportedDropCascadeTableException.java
+++ b/shardingsphere-kernel/shardingsphere-single-table/shardingsphere-single-table-core/src/main/java/org/apache/shardingsphere/singletable/exception/UnsupportedDropCascadeTableException.java
@@ -28,6 +28,6 @@ public final class UnsupportedDropCascadeTableException extends SyntaxSQLExcepti
private static final long serialVersionUID = -5995575055241171117L;
public UnsupportedDropCascadeTableException() {
- super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 100, "DROP TABLE ... CASCADE is not supported");
+ super(XOpenSQLState.FEATURE_NOT_SUPPORTED, 100, "DROP TABLE ... CASCADE is not supported.");
}
}
diff --git a/shardingsphere-kernel/shardingsphere-sql-federation/shardingsphere-sql-federation-optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/exception/OptimizationSQLNodeConvertException.java b/shardingsphere-kernel/shardingsphere-sql-federation/shardingsphere-sql-federation-optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/exception/OptimizationSQLNodeConvertException.java
index d7cdb8279dc..8e8a9339a73 100644
--- a/shardingsphere-kernel/shardingsphere-sql-federation/shardingsphere-sql-federation-optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/exception/OptimizationSQLNodeConvertException.java
+++ b/shardingsphere-kernel/shardingsphere-sql-federation/shardingsphere-sql-federation-optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/exception/OptimizationSQLNodeConvertException.java
@@ -29,6 +29,6 @@ public final class OptimizationSQLNodeConvertException extends MetaDataSQLExcept
private static final long serialVersionUID = -5486229929620713984L;
public OptimizationSQLNodeConvertException(final SQLStatement statement) {
- super(XOpenSQLState.SYNTAX_ERROR, 4, "Unsupported SQL node conversion for SQL statement `%s`", statement.toString());
+ super(XOpenSQLState.SYNTAX_ERROR, 4, "Unsupported SQL node conversion for SQL statement `%s`.", statement.toString());
}
}
diff --git a/shardingsphere-kernel/shardingsphere-sql-federation/shardingsphere-sql-federation-optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/exception/OptimizationSQLRexNodeException.java b/shardingsphere-kernel/shardingsphere-sql-federation/shardingsphere-sql-federation-optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/exception/OptimizationSQLRexNodeException.java
index 6eee037f8b4..009fccb3226 100644
--- a/shardingsphere-kernel/shardingsphere-sql-federation/shardingsphere-sql-federation-optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/exception/OptimizationSQLRexNodeException.java
+++ b/shardingsphere-kernel/shardingsphere-sql-federation/shardingsphere-sql-federation-optimizer/src/main/java/org/apache/shardingsphere/sqlfederation/optimizer/converter/exception/OptimizationSQLRexNodeException.java
@@ -28,6 +28,6 @@ public final class OptimizationSQLRexNodeException extends MetaDataSQLException
private static final long serialVersionUID = -5486229929620713963L;
public OptimizationSQLRexNodeException(final String reason) {
- super(XOpenSQLState.SYNTAX_ERROR, 4, "Unsupported SQL condition `%s`", reason);
+ super(XOpenSQLState.SYNTAX_ERROR, 4, "Unsupported SQL condition `%s`.", reason);
}
}
diff --git a/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-api/src/main/java/org/apache/shardingsphere/sqltranslator/exception/syntax/UnsupportedTranslatedDatabaseException.java b/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-api/src/main/java/org/apache/shardingsphere/sqltranslator/exception/syntax/UnsupportedTranslatedDatabaseException.java
index d17ff579430..c02584b8041 100644
--- a/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-api/src/main/java/org/apache/shardingsphere/sqltranslator/exception/syntax/UnsupportedTranslatedDatabaseException.java
+++ b/shardingsphere-kernel/shardingsphere-sql-translator/shardingsphere-sql-translator-api/src/main/java/org/apache/shardingsphere/sqltranslator/exception/syntax/UnsupportedTranslatedDatabaseException.java
@@ -29,6 +29,6 @@ public final class UnsupportedTranslatedDatabaseException extends SQLTranslation
private static final long serialVersionUID = -8311552562051028033L;
public UnsupportedTranslatedDatabaseException(final DatabaseType databaseType) {
- super(XOpenSQLState.SYNTAX_ERROR, 40, "Can not support database `%s` in SQL translation", databaseType.getType());
+ super(XOpenSQLState.SYNTAX_ERROR, 40, "Can not support database `%s` in SQL translation.", databaseType.getType());
}
}
diff --git a/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-core/src/main/java/org/apache/shardingsphere/traffic/exception/metadata/EmptyTrafficExecutionUnitException.java b/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-core/src/main/java/org/apache/shardingsphere/traffic/exception/metadata/EmptyTrafficExecutionUnitException.java
index f4e0daf06fe..180769423e9 100644
--- a/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-core/src/main/java/org/apache/shardingsphere/traffic/exception/metadata/EmptyTrafficExecutionUnitException.java
+++ b/shardingsphere-kernel/shardingsphere-traffic/shardingsphere-traffic-core/src/main/java/org/apache/shardingsphere/traffic/exception/metadata/EmptyTrafficExecutionUnitException.java
@@ -28,6 +28,6 @@ public final class EmptyTrafficExecutionUnitException extends TrafficException {
private static final long serialVersionUID = 1871625745475813160L;
public EmptyTrafficExecutionUnitException() {
- super(XOpenSQLState.NOT_FOUND, 0, "Can not get traffic execution unit");
+ super(XOpenSQLState.NOT_FOUND, 0, "Can not get traffic execution unit.");
}
}
diff --git a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/exception/SwitchTypeInTransactionException.java b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/exception/SwitchTypeInTransactionException.java
index d613b8a12d0..a1f021a075a 100644
--- a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/exception/SwitchTypeInTransactionException.java
+++ b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-core/src/main/java/org/apache/shardingsphere/transaction/exception/SwitchTypeInTransactionException.java
@@ -27,6 +27,6 @@ public final class SwitchTypeInTransactionException extends TransactionSQLExcept
private static final long serialVersionUID = 5333976223578960845L;
public SwitchTypeInTransactionException() {
- super(XOpenSQLState.INVALID_TRANSACTION_STATE, 0, "Switch transaction type failed, please terminate the current transaction");
+ super(XOpenSQLState.INVALID_TRANSACTION_STATE, 0, "Switch transaction type failed, please terminate the current transaction.");
}
}
diff --git a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/exception/XADataSourceInitializeException.java b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/exception/XADataSourc [...]
index 36e9f650401..7909154284d 100644
--- a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/exception/XADataSourceInitializeException.java
+++ b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/exception/XADataSourceInitializeException.java
@@ -29,6 +29,6 @@ public final class XADataSourceInitializeException extends TransactionSQLExcepti
private static final long serialVersionUID = -4515239569528215614L;
public XADataSourceInitializeException(final XADataSourceDefinition xaDataSourceDefinition) {
- super(XOpenSQLState.INVALID_TRANSACTION_STATE, 201, "Failed to create `%s` XA data source", xaDataSourceDefinition.getType());
+ super(XOpenSQLState.INVALID_TRANSACTION_STATE, 201, "Failed to create `%s` XA data source.", xaDataSourceDefinition.getType());
}
}
diff --git a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/exception/XATransactionNestedBeginException.java b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/exception/XATransac [...]
index 93d06519b1a..8142652fb2d 100644
--- a/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/exception/XATransactionNestedBeginException.java
+++ b/shardingsphere-kernel/shardingsphere-transaction/shardingsphere-transaction-type/shardingsphere-transaction-xa/shardingsphere-transaction-xa-core/src/main/java/org/apache/shardingsphere/transaction/xa/jta/exception/XATransactionNestedBeginException.java
@@ -28,6 +28,6 @@ public final class XATransactionNestedBeginException extends TransactionSQLExcep
private static final long serialVersionUID = 7761100591709104351L;
public XATransactionNestedBeginException() {
- super(XOpenSQLState.INVALID_TRANSACTION_STATE, 200, "Can not start new XA transaction in a active transaction");
+ super(XOpenSQLState.INVALID_TRANSACTION_STATE, 200, "Can not start new XA transaction in a active transaction.");
}
}
diff --git a/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/coordinator/registry/workerid/exception/WorkIdAssignedException.java b/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/coordinator/registry/workerid/exception/WorkIdAssignedException.java
index a284e44887c..b5053bb0fed 100644
--- a/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/coordinator/registry/workerid/exception/WorkIdAssignedException.java
+++ b/shardingsphere-mode/shardingsphere-mode-type/shardingsphere-cluster-mode/shardingsphere-cluster-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/cluster/coordinator/registry/workerid/exception/WorkIdAssignedException.java
@@ -27,6 +27,6 @@ public final class WorkIdAssignedException extends ClusterSQLException {
private static final long serialVersionUID = 4782736481041926266L;
public WorkIdAssignedException() {
- super(XOpenSQLState.GENERAL_ERROR, 0, "Work ID assigned failed, which can not exceed 1024");
+ super(XOpenSQLState.GENERAL_ERROR, 0, "Work ID assigned failed, which can not exceed 1024.");
}
}
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/InvalidValueException.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/InvalidValueException.java
index f490ca66064..1ec93d622b7 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/InvalidValueException.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/InvalidValueException.java
@@ -28,6 +28,6 @@ public final class InvalidValueException extends DataSQLException {
private static final long serialVersionUID = 1840341880422454371L;
public InvalidValueException(final String value) {
- super(XOpenSQLState.INVALID_DATA_TYPE, 0, "Invalid value `%s`", value);
+ super(XOpenSQLState.INVALID_DATA_TYPE, 0, "Invalid value `%s`.", value);
}
}
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/ResourceNotExistedException.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/ResourceNotExistedException.java
index c94d2fd243b..501b1a91f24 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/ResourceNotExistedException.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/ResourceNotExistedException.java
@@ -28,6 +28,6 @@ public final class ResourceNotExistedException extends MetaDataSQLException {
private static final long serialVersionUID = 4146100333670404924L;
public ResourceNotExistedException() {
- super(XOpenSQLState.SYNTAX_ERROR, 0, "Resource does not exist");
+ super(XOpenSQLState.SYNTAX_ERROR, 0, "Resource does not exist.");
}
}
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/RuleNotExistedException.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/RuleNotExistedException.java
index 4ab30a93ce8..866a38337c0 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/RuleNotExistedException.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/RuleNotExistedException.java
@@ -28,6 +28,6 @@ public final class RuleNotExistedException extends MetaDataSQLException {
private static final long serialVersionUID = -4150905802300104824L;
public RuleNotExistedException() {
- super(XOpenSQLState.SYNTAX_ERROR, 10, "Rule does not exist");
+ super(XOpenSQLState.SYNTAX_ERROR, 10, "Rule does not exist.");
}
}
diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/UnsupportedVariableException.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/UnsupportedVariableException.java
index 7f94c3e77c6..d6b7e06756c 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/UnsupportedVariableException.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/exception/UnsupportedVariableException.java
@@ -28,6 +28,6 @@ public final class UnsupportedVariableException extends SyntaxSQLException {
private static final long serialVersionUID = 1955281568807066737L;
public UnsupportedVariableException(final String variable) {
- super(XOpenSQLState.SYNTAX_ERROR, 10, "Can not support variable `%s`", variable);
+ super(XOpenSQLState.SYNTAX_ERROR, 10, "Can not support variable `%s`.", variable);
}
}
diff --git a/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/exception/DatabaseServerLoadingServerException.java b/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/exception/DatabaseServerLoadingServerException.java
index 69cae770220..52514029524 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/exception/DatabaseServerLoadingServerException.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/exception/DatabaseServerLoadingServerException.java
@@ -33,6 +33,6 @@ public final class DatabaseServerLoadingServerException extends ShardingSphereSe
private static final int ERROR_CODE = 1;
public DatabaseServerLoadingServerException(final SQLException cause) {
- super(ERROR_CATEGORY, ERROR_CODE, "Load database server info failed", cause);
+ super(ERROR_CATEGORY, ERROR_CODE, "Load database server info failed.", cause);
}
}
diff --git a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/exception/CircuitBreakException.java b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/exception/CircuitBreakException.java
index 1166c8597cd..dded6f3489d 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/exception/CircuitBreakException.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-core/src/main/java/org/apache/shardingsphere/proxy/frontend/exception/CircuitBreakException.java
@@ -28,6 +28,6 @@ public final class CircuitBreakException extends ConnectionSQLException {
private static final long serialVersionUID = 6339672680026286798L;
public CircuitBreakException() {
- super(XOpenSQLState.GENERAL_WARNING, 10, "Circuit break open, the request has been ignored");
+ super(XOpenSQLState.GENERAL_WARNING, 10, "Circuit break open, the request has been ignored.");
}
}
diff --git a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/err/MySQLErrPacketFactoryTest.java b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/err/MySQLErrPacketFactoryTest.java
index df65b59e59c..eed34f1ab44 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/err/MySQLErrPacketFactoryTest.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/err/MySQLErrPacketFactoryTest.java
@@ -55,7 +55,7 @@ public final class MySQLErrPacketFactoryTest {
assertThat(actual.getSequenceId(), is(1));
assertThat(actual.getErrorCode(), is(13010));
assertThat(actual.getSqlState(), is(XOpenSQLState.GENERAL_WARNING.getValue()));
- assertThat(actual.getErrorMessage(), is("Circuit break open, the request has been ignored"));
+ assertThat(actual.getErrorMessage(), is("Circuit break open, the request has been ignored."));
}
@Test
diff --git a/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/exception/SQLASTVisitorException.java b/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/exception/SQLASTVisitorException.java
index 66956bb38cd..8ad79ec61d0 100644
--- a/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/exception/SQLASTVisitorException.java
+++ b/shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/exception/SQLASTVisitorException.java
@@ -31,6 +31,6 @@ public final class SQLASTVisitorException extends KernelSQLException {
private static final int KERNEL_CODE = 2;
public SQLASTVisitorException(final Class<? extends ParseTree> parseTreeClass) {
- super(XOpenSQLState.SYNTAX_ERROR, KERNEL_CODE, 1, "Can not accept SQL type `%s`", parseTreeClass.getSimpleName());
+ super(XOpenSQLState.SYNTAX_ERROR, KERNEL_CODE, 1, "Can not accept SQL type `%s`.", parseTreeClass.getSimpleName());
}
}