Interface SnippetOutcome.Interrupted
- All Superinterfaces:
SnippetOutcome,SnippetOutcome.HaltsScript
- Enclosing interface:
SnippetOutcome
public static sealed interface SnippetOutcome.Interrupted
extends SnippetOutcome, SnippetOutcome.HaltsScript
Indicates that the snippet's execution was interrupted.
A script can be interrupted by interrupting the thread that is executing it,
or by invoking interrupt() from a different thread.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.dellroad.javabox.SnippetOutcome
SnippetOutcome.CompilerErrors, SnippetOutcome.CompilerSemanticErrors, SnippetOutcome.CompilerSyntaxErrors, SnippetOutcome.ControlViolation, SnippetOutcome.ExceptionThrown, SnippetOutcome.HaltsScript, SnippetOutcome.HasException<T extends Throwable>, SnippetOutcome.HasSnippet, SnippetOutcome.Interrupted, SnippetOutcome.Overwritten, SnippetOutcome.Successful, SnippetOutcome.SuccessfulNoValue, SnippetOutcome.SuccessfulWithValue, SnippetOutcome.Suspended, SnippetOutcome.UnresolvedReferences -
Method Summary
Methods inherited from interface org.dellroad.javabox.SnippetOutcome
box, offset, source