davidzollo commented on PR #10002:
URL: https://github.com/apache/seatunnel/pull/10002#issuecomment-3512208243
Good job, things are getting better
I noticed that there're many execptions, I think you can create a unified
class `HugeGraphConnectorException` for HugeGraph,
```
package org.apache.seatunnel.connectors.seatunnel.hugegraph.exception;
import java.util.Map;
import org.apache.seatunnel.common.exception.SeaTunnelErrorCode;
import org.apache.seatunnel.common.exception.SeaTunnelRuntimeException;
public class HugeGraphConnectorException extends SeaTunnelRuntimeException {
public HugeGraphConnectorException(SeaTunnelErrorCode code, String msg)
{ super(code, msg); }
public HugeGraphConnectorException(SeaTunnelErrorCode code, String msg,
Throwable c) { super(code, msg, c); }
public HugeGraphConnectorException(SeaTunnelErrorCode code,
Map<String,String> params) { super(code, params); }
public HugeGraphConnectorException(SeaTunnelErrorCode code,
Map<String,String> params, Throwable c) { super(code, params, c); }
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]