public class CommonError extends Object
CommonErrorCodeDeprecated and is
used to define non-bug errors or expected errors for all connectors and engines. We need to
define a corresponding enumeration type in CommonErrorCode to determine the output error
message format and content. Then define the corresponding method in CommonError to
construct the corresponding error instance.| 构造器和说明 |
|---|
CommonError() |
public static SeaTunnelRuntimeException fileOperationFailed(String identifier, String operation, String fileName, Throwable cause)
public static SeaTunnelRuntimeException fileOperationFailed(String identifier, String operation, String fileName)
public static SeaTunnelRuntimeException fileNotExistFailed(String identifier, String operation, String fileName)
public static SeaTunnelRuntimeException writeSeaTunnelRowFailed(String connector, String row, Throwable cause)
public static SeaTunnelRuntimeException unsupportedDataType(String identifier, String dataType, String field)
public static SeaTunnelRuntimeException convertToSeaTunnelTypeError(String connector, PluginType pluginType, String dataType, String field)
public static SeaTunnelRuntimeException convertToSeaTunnelTypeError(String identifier, String dataType, String field)
public static SeaTunnelRuntimeException convertToConnectorTypeError(String connector, PluginType pluginType, String dataType, String field)
public static SeaTunnelRuntimeException convertToConnectorTypeError(String identifier, String dataType, String field)
public static SeaTunnelRuntimeException getCatalogTableWithUnsupportedType(String catalogName, String tableName, Map<String,String> fieldWithDataTypes)
public static SeaTunnelRuntimeException getCatalogTablesWithUnsupportedType(String catalogName, Map<String,Map<String,String>> tableUnsupportedTypes)
public static SeaTunnelRuntimeException jsonOperationError(String identifier, String payload)
public static SeaTunnelRuntimeException jsonOperationError(String identifier, String payload, Throwable cause)
Copyright © 2024 The Apache Software Foundation. All rights reserved.