Class SandboxLimitExceededError

java.lang.Object
java.lang.Throwable
java.lang.Error
org.codehaus.commons.compiler.sandbox.SandboxLimitExceededError
All Implemented Interfaces:
Serializable

public class SandboxLimitExceededError extends Error
Thrown inside sandboxed code by Guard when a limit is exceeded. It is an Error, so that catch (Exception e) does not catch it. Code that catches it anyway does not gain anything: the guard stays tripped and throws again on the next tick, and the SandboxExecutor reports the exceeded limit as a SandboxLimitExceededException in any case.
See Also:
  • Method Details