public class SandboxException
extends java.lang.Exception
| Constructor and Description |
|---|
SandboxException(Sandbox sandbox)
Constructs an exception.
|
SandboxException(Sandbox sandbox,
java.lang.String message)
Constructs an exception with a message.
|
SandboxException(Sandbox sandbox,
java.lang.Throwable cause)
Constructs an exception with a cause.
|
| Modifier and Type | Method and Description |
|---|---|
Sandbox |
getSandbox()
Gets the sandbox where this exception occurred.
|
public SandboxException(Sandbox sandbox)
sandbox - the sandbox where this exception occursjava.lang.IllegalArgumentException - if the given sandbox is nullpublic SandboxException(Sandbox sandbox, java.lang.String message)
sandbox - the sandbox where this exception occursmessage - the messagejava.lang.IllegalArgumentException - if the given sandbox is nullpublic SandboxException(Sandbox sandbox, java.lang.Throwable cause)
sandbox - the sandbox where this exception occurscause - the causejava.lang.IllegalArgumentException - if the given sandbox is nullpublic final Sandbox getSandbox()