Class SandboxException.SandboxRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.agentscope.harness.agent.sandbox.SandboxException
io.agentscope.harness.agent.sandbox.SandboxException.SandboxRuntimeException
- All Implemented Interfaces:
Serializable
- Enclosing class:
SandboxException
Thrown for general sandbox runtime failures not covered by a more specific subclass.
- 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
ConstructorsConstructorDescriptionSandboxRuntimeException(SandboxErrorCode errorCode, String message) Creates a runtime exception with an error code and message.SandboxRuntimeException(SandboxErrorCode errorCode, String message, Throwable cause) Creates a runtime exception with an error code, message, and cause.SandboxRuntimeException(String message, Throwable cause) Creates a runtime exception with a message and cause. -
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
-
SandboxRuntimeException
Creates a runtime exception with an error code and message.- Parameters:
errorCode- the error code classifying the failuremessage- human-readable description
-
SandboxRuntimeException
Creates a runtime exception with an error code, message, and cause.- Parameters:
errorCode- the error code classifying the failuremessage- human-readable descriptioncause- the underlying cause
-
SandboxRuntimeException
Creates a runtime exception with a message and cause.- Parameters:
message- human-readable descriptioncause- the underlying cause
-