refactor(exception): establish new exception system, and move the legacy into deprecated package

This commit is contained in:
2026-04-10 18:41:13 +08:00
parent 4876d621b2
commit 7b963df991
19 changed files with 213 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
package work.slhaf.partner.common.vector.exception;
import work.slhaf.partner.framework.agent.exception.AgentRuntimeException;
import work.slhaf.partner.framework.agent.exception.deprecated.AgentRuntimeException;
public class VectorClientExecuteException extends AgentRuntimeException {

View File

@@ -1,6 +1,6 @@
package work.slhaf.partner.common.vector.exception;
import work.slhaf.partner.framework.agent.exception.AgentRuntimeException;
import work.slhaf.partner.framework.agent.exception.deprecated.AgentRuntimeException;
public class VectorClientLoadFailedException extends AgentRuntimeException {

View File

@@ -1,6 +1,6 @@
package work.slhaf.partner.core.action.exception;
import work.slhaf.partner.framework.agent.exception.AgentLaunchFailedException;
import work.slhaf.partner.framework.agent.exception.deprecated.AgentLaunchFailedException;
public class ActionInitFailedException extends AgentLaunchFailedException {
public ActionInitFailedException(String message, Throwable cause) {

View File

@@ -1,6 +1,6 @@
package work.slhaf.partner.core.action.exception;
import work.slhaf.partner.framework.agent.exception.AgentRuntimeException;
import work.slhaf.partner.framework.agent.exception.deprecated.AgentRuntimeException;
public class ActionSerializeFailedException extends AgentRuntimeException {
public ActionSerializeFailedException(String message) {

View File

@@ -1,6 +1,6 @@
package work.slhaf.partner.core.action.exception;
import work.slhaf.partner.framework.agent.exception.AgentRuntimeException;
import work.slhaf.partner.framework.agent.exception.deprecated.AgentRuntimeException;
public class MetaActionNotFoundException extends AgentRuntimeException {
public MetaActionNotFoundException(String message) {