public class ScriptAbuseException extends RuntimeException
Created on 2017.11.24
| Constructor and Description |
|---|
ScriptAbuseException(String message,
boolean scriptKilled,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
boolean |
isScriptKilled()
Check if script when asked exited nicely, or not.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic boolean isScriptKilled()
Note, killint java thread is very dangerous to VM health.
true when evaluator thread was finished by
Thread.stop() method, false when only
Thread.interrupt() was usedpublic String getMessage()
getMessage in class ThrowableCopyright © 2018. All rights reserved.