public class ScriptCompilationException
extends java.lang.RuntimeException
Constructor and Description |
---|
ScriptCompilationException()
Constructor.
|
ScriptCompilationException(ScriptException<?> internalException)
Constructor.
|
ScriptCompilationException(java.lang.String s)
Constructor.
|
ScriptCompilationException(java.lang.Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ScriptException<?> |
getInternalException()
Return the internal wrapped script exception.
|
int |
getLineNumber()
Return the exception line number in the script.
|
ScriptWrapper<?> |
getScriptWrapper()
Return the ScriptWrapper from which the exception originates.
|
java.lang.StackTraceElement[] |
getStackTrace()
Construct and return the StackTrace
|
java.lang.StackTraceElement[] |
getStackTrace(boolean filterScriptExceptions)
Construct and return the StackTrace, optionnaly filtering only Script exceptions.
|
public ScriptCompilationException()
public ScriptCompilationException(java.lang.String s)
s
- the messagepublic ScriptCompilationException(ScriptException<?> internalException)
internalException
- the internal wrapped script exceptionpublic ScriptCompilationException(java.lang.Throwable cause)
cause
- the causepublic ScriptException<?> getInternalException()
public ScriptWrapper<?> getScriptWrapper()
public int getLineNumber()
public java.lang.StackTraceElement[] getStackTrace()
getStackTrace
in class java.lang.Throwable
public java.lang.StackTraceElement[] getStackTrace(boolean filterScriptExceptions)
filterScriptExceptions
- true if filtering only Script exceptionsCopyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence