Interface SnippetOutcome.ControlViolation
- All Superinterfaces:
SnippetOutcome,SnippetOutcome.HaltsScript,SnippetOutcome.HasException<ControlViolationException>
- Enclosing interface:
SnippetOutcome
public static sealed interface SnippetOutcome.ControlViolation
extends SnippetOutcome, SnippetOutcome.HaltsScript, SnippetOutcome.HasException<ControlViolationException>
Indicates that the bytecode generated by the snippet could not be loaded because it violated some
Control.
If this error happens, the snippet was never executed. Controls can also trigger exceptions during
snippet execution; that results in an SnippetOutcome.ExceptionThrown instead.
-
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, sourceMethods inherited from interface org.dellroad.javabox.SnippetOutcome.HasException
exception