Class SandboxException.ExecTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.harness.agent.sandbox.SandboxException
io.agentscope.harness.agent.sandbox.SandboxException.ExecTimeoutException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SandboxException
Thrown when a sandbox command times out.
- 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
ConstructorsConstructorDescriptionExecTimeoutException(String command, int timeoutSeconds) Creates an exec timeout 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
-
ExecTimeoutException
Creates an exec timeout exception.- Parameters:
command- the command that timed outtimeoutSeconds- the timeout that was exceeded
-