Class SandboxException.WorkspaceStartException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.harness.agent.sandbox.SandboxException
io.agentscope.harness.agent.sandbox.SandboxException.WorkspaceStartException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SandboxException
Thrown when the workspace backend fails to start.
- 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
ConstructorsConstructorDescriptionWorkspaceStartException(Path path, Throwable cause) Creates a workspace-start 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
-
WorkspaceStartException
Creates a workspace-start exception.- Parameters:
path- the workspace path that could not be startedcause- the underlying cause
-
-
Method Details
-
getPath
Returns the workspace path that failed to start.- Returns:
- workspace path
-