Class SandboxException.WorkspaceStopException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.harness.agent.sandbox.SandboxException
io.agentscope.harness.agent.sandbox.SandboxException.WorkspaceStopException
- All Implemented Interfaces:
Serializable
- Enclosing class:
SandboxException
Thrown when the workspace backend fails to stop.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.agentscope.harness.agent.sandbox.SandboxException
SandboxException.ExecException, SandboxException.ExecTimeoutException, SandboxException.SandboxConfigurationException, SandboxException.SandboxRuntimeException, SandboxException.SnapshotException, SandboxException.WorkspaceStartException, SandboxException.WorkspaceStopException -
Constructor Summary
ConstructorsConstructorDescriptionWorkspaceStopException(Path path, Throwable cause) Creates a workspace-stop exception. -
Method Summary
Methods inherited from class io.agentscope.harness.agent.sandbox.SandboxException
getErrorCode, getOpMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WorkspaceStopException
Creates a workspace-stop exception.- Parameters:
path- the workspace path that could not be stoppedcause- the underlying cause
-
-
Method Details
-
getPath
Returns the workspace path that failed to stop.- Returns:
- workspace path
-